POST api/Accounts/save_commession

Request Information

URI Parameters

None.

Body Parameters

Collection of BranchCommessionModel
NameDescriptionTypeAdditional information
Code

integer

None.

BranchCode

integer

None.

TourCode

integer

None.

BranchName

string

None.

TourName

string

None.

NOB

integer

None.

TotalAmount

decimal number

None.

CommessionPer

decimal number

None.

CommessionAmount

decimal number

None.

CommessionAmountIssued

decimal number

None.

PendingCommession

decimal number

None.

TicketMasterCode

integer

None.

PNR

integer

None.

InvoiceNo

integer

None.

NetAmount

decimal number

None.

DOT

string

None.

PostedBy

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Code": 1,
    "BranchCode": 2,
    "TourCode": 3,
    "BranchName": "sample string 4",
    "TourName": "sample string 5",
    "NOB": 6,
    "TotalAmount": 7.1,
    "CommessionPer": 8.1,
    "CommessionAmount": 9.1,
    "CommessionAmountIssued": 10.1,
    "PendingCommession": 11.1,
    "TicketMasterCode": 12,
    "PNR": 13,
    "InvoiceNo": 14,
    "NetAmount": 15.1,
    "DOT": "sample string 16",
    "PostedBy": 17
  },
  {
    "Code": 1,
    "BranchCode": 2,
    "TourCode": 3,
    "BranchName": "sample string 4",
    "TourName": "sample string 5",
    "NOB": 6,
    "TotalAmount": 7.1,
    "CommessionPer": 8.1,
    "CommessionAmount": 9.1,
    "CommessionAmountIssued": 10.1,
    "PendingCommession": 11.1,
    "TicketMasterCode": 12,
    "PNR": 13,
    "InvoiceNo": 14,
    "NetAmount": 15.1,
    "DOT": "sample string 16",
    "PostedBy": 17
  }
]

application/xml, text/xml

Sample:
<ArrayOfBranchCommessionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
  <BranchCommessionModel>
    <BranchCode>2</BranchCode>
    <BranchName>sample string 4</BranchName>
    <Code>1</Code>
    <CommessionAmount>9.1</CommessionAmount>
    <CommessionAmountIssued>10.1</CommessionAmountIssued>
    <CommessionPer>8.1</CommessionPer>
    <DOT>sample string 16</DOT>
    <InvoiceNo>14</InvoiceNo>
    <NOB>6</NOB>
    <NetAmount>15.1</NetAmount>
    <PNR>13</PNR>
    <PendingCommession>11.1</PendingCommession>
    <PostedBy>17</PostedBy>
    <TicketMasterCode>12</TicketMasterCode>
    <TotalAmount>7.1</TotalAmount>
    <TourCode>3</TourCode>
    <TourName>sample string 5</TourName>
  </BranchCommessionModel>
  <BranchCommessionModel>
    <BranchCode>2</BranchCode>
    <BranchName>sample string 4</BranchName>
    <Code>1</Code>
    <CommessionAmount>9.1</CommessionAmount>
    <CommessionAmountIssued>10.1</CommessionAmountIssued>
    <CommessionPer>8.1</CommessionPer>
    <DOT>sample string 16</DOT>
    <InvoiceNo>14</InvoiceNo>
    <NOB>6</NOB>
    <NetAmount>15.1</NetAmount>
    <PNR>13</PNR>
    <PendingCommession>11.1</PendingCommession>
    <PostedBy>17</PostedBy>
    <TicketMasterCode>12</TicketMasterCode>
    <TotalAmount>7.1</TotalAmount>
    <TourCode>3</TourCode>
    <TourName>sample string 5</TourName>
  </BranchCommessionModel>
</ArrayOfBranchCommessionModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

Message

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "Message": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TravelAPI.Models">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfstring>