POST api/Payment/PostChangePaymentLine

Send Passenger Documentation

Request Information

URI Parameters

None.

Body Parameters

Collection of Payment_Line_Change
NameDescriptionTypeAdditional information
GUID

string

None.

GUID_CLIENTBOOKINGID

string

None.

Selected

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "GUID": "sample string 1",
    "GUID_CLIENTBOOKINGID": "sample string 2",
    "Selected": true
  },
  {
    "GUID": "sample string 1",
    "GUID_CLIENTBOOKINGID": "sample string 2",
    "Selected": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfPayment_Line_Change xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Radical.Entities.Web.Json">
  <Payment_Line_Change>
    <GUID>sample string 1</GUID>
    <GUID_CLIENTBOOKINGID>sample string 2</GUID_CLIENTBOOKINGID>
    <Selected>true</Selected>
  </Payment_Line_Change>
  <Payment_Line_Change>
    <GUID>sample string 1</GUID>
    <GUID_CLIENTBOOKINGID>sample string 2</GUID_CLIENTBOOKINGID>
    <Selected>true</Selected>
  </Payment_Line_Change>
</ArrayOfPayment_Line_Change>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

StatusReturn
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

ExtraInfo

Collection of Pair of string [key] and string [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "Message": "sample string 2",
  "ExtraInfo": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<StatusReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Radical.Entities.Web.Json">
  <ExtraInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
    <d2p1:KeyValuePairOfstringstring>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:KeyValuePairOfstringstring>
  </ExtraInfo>
  <Message>sample string 2</Message>
  <Status>true</Status>
</StatusReturn>