POST api/GetOrderToPay

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
cred
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "EncryptedSessionkey": "sample string 1",
  "OrderNumber": "sample string 2"
}

application/xml, text/xml

Sample:
<GetOrderToPayModel 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>
</GetOrderToPayModel>

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 'GetOrderToPayModel'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "OrderStatus": "sample string 1",
  "OrderNumber": "sample string 2",
  "SenderName": "sample string 3",
  "SenderAddress": "sample string 4",
  "SenderTelephone": "sample string 5",
  "ReceiverName": "sample string 6",
  "ReceiverAddress": "sample string 7",
  "ReceiverTelephone": "sample string 8",
  "OrderDate": "2018-11-16T07:12:46.6999767-05:00",
  "OrderAmount": 1.0,
  "OrderCurrency": "sample string 9",
  "OrderSenderMessage": "sample string 10",
  "StatusCode": 1,
  "Status": "sample string 11",
  "Message": "sample string 12"
}

application/xml, text/xml

Sample:
<GetOrderToPayResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Status>sample string 11</Status>
  <Message>sample string 12</Message>
  <OrderStatus>sample string 1</OrderStatus>
  <OrderNumber>sample string 2</OrderNumber>
  <SenderName>sample string 3</SenderName>
  <SenderAddress>sample string 4</SenderAddress>
  <SenderTelephone>sample string 5</SenderTelephone>
  <ReceiverName>sample string 6</ReceiverName>
  <ReceiverAddress>sample string 7</ReceiverAddress>
  <ReceiverTelephone>sample string 8</ReceiverTelephone>
  <OrderDate>2018-11-16T07:12:46.6999767-05:00</OrderDate>
  <OrderAmount>1</OrderAmount>
  <OrderCurrency>sample string 9</OrderCurrency>
  <OrderSenderMessage>sample string 10</OrderSenderMessage>
  <StatusCode>1</StatusCode>
</GetOrderToPayResponseModel>