POST api/order/IntegrationReference

Allows the creation of an order reference..

Request Information

URI Parameters

None.

Body Parameters

IntegrationReferenceViewModel
NameDescriptionTypeAdditional information
ID

The ID of the transaction

integer

None.

OrderID

The Order # of the order in Freedom

integer

None.

IntegrationProviderID

IntegrationProviderID

integer

None.

ReferenceID

Reference IDs for orders stored in Freedom.

string

None.

Request Formats

application/xml, text/xml

Sample:
<IntegrationReferenceViewModel>
  <ID>1</ID>
  <OrderID>2</OrderID>
  <IntegrationProviderID>3</IntegrationProviderID>
  <ReferenceID>sample string 4</ReferenceID>
</IntegrationReferenceViewModel>

application/json, text/json

Sample:
{
  "ID": 1,
  "OrderID": 2,
  "IntegrationProviderID": 3,
  "ReferenceID": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'IntegrationReferenceViewModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/xml, text/xml, application/json, text/json

Sample:

Sample not available.