POST api/pre-transactions/ehf?partnerId={partnerId}&templateName={templateName}&api-version=2.0

Creates a new pre-transaction from EHF order. Use the 'Location' http header to learn the resulting url of the created resource.

Request Information

URI Parameters

NameDescriptionTypeRequiredAdditional information
partnerId

Partner id.

integer

Required

templateName

Template name.

string

Required

Body Parameters

XDocument
NameDescriptionTypeRequiredAdditional information
Declaration

XDeclaration

None.

DocumentType

XDocumentType

None.

NodeType

XmlNodeType

None.

Root

XElement

None.

FirstNode

XNode

None.

LastNode

XNode

None.

NextNode

XNode

None.

PreviousNode

XNode

None.

BaseUri

string

None.

Document

XDocument

None.

Parent

XElement

None.

Request Formats

application/json, text/json

Sample:
{}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: The media type formatter of type 'XmlMediaTypeFormatter' does not support writing because it does not implement the WriteToStreamAsync method.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeRequiredAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.