POST {Type}/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
Name | Description | Type | Required | Additional information |
---|---|---|---|---|
partnerId |
Partner id. |
integer |
Required |
|
templateName |
Template name. |
string |
Required |
|
Type | string |
None. |
Body Parameters
XDocumentName | Description | Type | Required | Additional 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:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Required | Additional information |
---|---|---|---|---|
Version | Version |
None. |
||
Content | HttpContent |
None. |
||
StatusCode | HttpStatusCode |
None. |
||
ReasonPhrase | string |
None. |
||
Headers | Collection of Object |
None. |
||
RequestMessage | HttpRequestMessage |
None. |
||
IsSuccessStatusCode | boolean |
None. |