POST API/Account/PINAdd

Request Information

URI Parameters

None.

Body Parameters

PINAddRequest
NameDescriptionTypeAdditional information
AccountID

integer

None.

MobileNumber

string

None.

PIN

string

None.

Signature

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "MobileNumber": "sample string 2",
  "PIN": "sample string 3",
  "Signature": "sample string 4"
}

application/xml, text/xml

Sample:
<PINAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pis.Apay.Mobile.Api.Models">
  <AccountID>1</AccountID>
  <MobileNumber>sample string 2</MobileNumber>
  <PIN>sample string 3</PIN>
  <Signature>sample string 4</Signature>
</PINAddRequest>

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

Response Information

Resource Description

ResponseObject
NameDescriptionTypeAdditional information
Code

string

None.

ListValue

Collection of Object

None.

Message

string

None.

Time

string

None.

Value

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "ListValue": [
    {},
    {}
  ],
  "Message": "sample string 2",
  "Time": "sample string 3",
  "Value": {}
}

application/xml, text/xml

Sample:
<ResponseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pis.Admin.Lib">
  <Code>sample string 1</Code>
  <ListValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </ListValue>
  <Message>sample string 2</Message>
  <Time>sample string 3</Time>
  <Value />
</ResponseObject>