POST api/SubmitOrder

Patrick: Please add the necessary description here

Request Information

Parameters

NameDescriptionAdditional information
input

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "EncryptedSessionKey": "sample string 1",
  "OrderNumber": "sample string 2",
  "DestinationCountryName": "sample string 3",
  "DestinationCityName": "sample string 4",
  "SenderFirstName": "sample string 5",
  "SenderLastName": "sample string 6",
  "SenderCity": "sample string 7",
  "SenderState": "sample string 8",
  "SenderAddress": "sample string 9",
  "SenderZip": "sample string 10",
  "SenderTelephone": "sample string 11",
  "ReceiverFirstName": "sample string 12",
  "ReceiverLastName": "sample string 13",
  "ReceiverAddress": "sample string 14",
  "ReceiverCity": "sample string 15",
  "ReceiverZip": "sample string 16",
  "ReceiverTelephone": "sample string 17",
  "Amount": 1.0,
  "Message": "sample string 18",
  "TransactionReferenceNumber": "sample string 19",
  "DeliveryType": 1,
  "SenderAddress2": "sample string 20",
  "ReceiverAddress2": "sample string 21",
  "BankName": "sample string 22",
  "BankAccountNumber": "sample string 23",
  "SenderExternalReferenceID": "sample string 24",
  "OriginCountry": "sample string 25"
}

application/xml, text/xml

Sample:
<SubmitOrderModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <EncryptedSessionKey>sample string 1</EncryptedSessionKey>
  <OrderNumber>sample string 2</OrderNumber>
  <DestinationCountryName>sample string 3</DestinationCountryName>
  <DestinationCityName>sample string 4</DestinationCityName>
  <SenderFirstName>sample string 5</SenderFirstName>
  <SenderLastName>sample string 6</SenderLastName>
  <SenderCity>sample string 7</SenderCity>
  <SenderState>sample string 8</SenderState>
  <SenderAddress>sample string 9</SenderAddress>
  <SenderZip>sample string 10</SenderZip>
  <SenderTelephone>sample string 11</SenderTelephone>
  <ReceiverFirstName>sample string 12</ReceiverFirstName>
  <ReceiverLastName>sample string 13</ReceiverLastName>
  <ReceiverAddress>sample string 14</ReceiverAddress>
  <ReceiverCity>sample string 15</ReceiverCity>
  <ReceiverZip>sample string 16</ReceiverZip>
  <ReceiverTelephone>sample string 17</ReceiverTelephone>
  <Amount>1</Amount>
  <Message>sample string 18</Message>
  <TransactionReferenceNumber>sample string 19</TransactionReferenceNumber>
  <DeliveryType>HomeDelivery</DeliveryType>
  <SenderAddress2>sample string 20</SenderAddress2>
  <ReceiverAddress2>sample string 21</ReceiverAddress2>
  <BankName>sample string 22</BankName>
  <BankAccountNumber>sample string 23</BankAccountNumber>
  <SenderExternalReferenceID>sample string 24</SenderExternalReferenceID>
  <OriginCountry>sample string 25</OriginCountry>
</SubmitOrderModel>

application/x-www-form-urlencoded

Sample:

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "StatusCode": 1,
  "OrderNumber": 2,
  "TransactionReferenceNumber": "sample string 3",
  "Status": "sample string 4",
  "Message": "sample string 5"
}

application/xml, text/xml

Sample:
<SubmitOrderResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Status>sample string 4</Status>
  <Message>sample string 5</Message>
  <StatusCode>1</StatusCode>
  <OrderNumber>2</OrderNumber>
  <TransactionReferenceNumber>sample string 3</TransactionReferenceNumber>
</SubmitOrderResponseModel>