POST api/pod/billing/ListMultiSettlement

Request Information

URI Parameters

None.

Body Parameters

ListMultiSettlementBindingModel
NameDescriptionTypeAdditional information
UniqueIds

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "UniqueIds": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ListMultiSettlementBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <UniqueIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UniqueIds>
</ListMultiSettlementBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ListMultiSettlementViewModel
NameDescriptionTypeAdditional information
Data

Collection of MultiSettlementData

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "UniqueId": "sample string 1",
      "SettlementResults": [
        {
          "AccountType": "sample string 1",
          "AccountId": "sample string 2",
          "Amount": 3,
          "Status": "sample string 4",
          "IsSuccessful": true
        },
        {
          "AccountType": "sample string 1",
          "AccountId": "sample string 2",
          "Amount": 3,
          "Status": "sample string 4",
          "IsSuccessful": true
        }
      ]
    },
    {
      "UniqueId": "sample string 1",
      "SettlementResults": [
        {
          "AccountType": "sample string 1",
          "AccountId": "sample string 2",
          "Amount": 3,
          "Status": "sample string 4",
          "IsSuccessful": true
        },
        {
          "AccountType": "sample string 1",
          "AccountId": "sample string 2",
          "Amount": 3,
          "Status": "sample string 4",
          "IsSuccessful": true
        }
      ]
    }
  ],
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<ListMultiSettlementViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models" />
  <Data>
    <MultiSettlementData>
      <SettlementResults>
        <MultiSettlementResult>
          <AccountId>sample string 2</AccountId>
          <AccountType>sample string 1</AccountType>
          <Amount>3</Amount>
          <IsSuccessful>true</IsSuccessful>
          <Status>sample string 4</Status>
        </MultiSettlementResult>
        <MultiSettlementResult>
          <AccountId>sample string 2</AccountId>
          <AccountType>sample string 1</AccountType>
          <Amount>3</Amount>
          <IsSuccessful>true</IsSuccessful>
          <Status>sample string 4</Status>
        </MultiSettlementResult>
      </SettlementResults>
      <UniqueId>sample string 1</UniqueId>
    </MultiSettlementData>
    <MultiSettlementData>
      <SettlementResults>
        <MultiSettlementResult>
          <AccountId>sample string 2</AccountId>
          <AccountType>sample string 1</AccountType>
          <Amount>3</Amount>
          <IsSuccessful>true</IsSuccessful>
          <Status>sample string 4</Status>
        </MultiSettlementResult>
        <MultiSettlementResult>
          <AccountId>sample string 2</AccountId>
          <AccountType>sample string 1</AccountType>
          <Amount>3</Amount>
          <IsSuccessful>true</IsSuccessful>
          <Status>sample string 4</Status>
        </MultiSettlementResult>
      </SettlementResults>
      <UniqueId>sample string 1</UniqueId>
    </MultiSettlementData>
  </Data>
</ListMultiSettlementViewModel>