POST api/Payment/SetUpDebtByCa

Request Information

URI Parameters

None.

Body Parameters

SetUpDebtModel
NameDescriptionTypeAdditional information
InvoiceList

Collection of string

None.

InvoiceRefList

Collection of TupleOfStringAndString

None.

BankCode

string

None.

MobileNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InvoiceList": [
    "sample string 1",
    "sample string 2"
  ],
  "InvoiceRefList": [
    {
      "m_Item1": "sample string 1",
      "m_Item2": "sample string 2"
    },
    {
      "m_Item1": "sample string 1",
      "m_Item2": "sample string 2"
    }
  ],
  "BankCode": "sample string 1",
  "MobileNumber": "sample string 2"
}

application/xml, text/xml

Sample:
<SetUpDebtModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PaymentModels">
  <BankCode>sample string 1</BankCode>
  <InvoiceList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </InvoiceList>
  <InvoiceRefList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:TupleOfstringstring>
      <d2p1:m_Item1>sample string 1</d2p1:m_Item1>
      <d2p1:m_Item2>sample string 2</d2p1:m_Item2>
    </d2p1:TupleOfstringstring>
    <d2p1:TupleOfstringstring>
      <d2p1:m_Item1>sample string 1</d2p1:m_Item1>
      <d2p1:m_Item2>sample string 2</d2p1:m_Item2>
    </d2p1:TupleOfstringstring>
  </InvoiceRefList>
  <MobileNumber>sample string 2</MobileNumber>
</SetUpDebtModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.