POST API/Account/InfoUpdate

Request Information

URI Parameters

None.

Body Parameters

InfoUpdateRequest
NameDescriptionTypeAdditional information
AccountID

integer

None.

FirstName

string

None.

LastName

string

None.

Gender

string

None.

BirthDate

string

None.

Email

string

None.

PIDType

integer

None.

PIDNumber

string

None.

PIDDate

string

None.

PIDPlace

string

None.

PermanentProvinceID

integer

None.

PermanentDistrictID

integer

None.

PermanentWardID

integer

None.

PermanentStreet

string

None.

ImgPIDBefore

string

None.

ImgPIDAfter

string

None.

ImgPIDSelfie

string

None.

ImgBill

string

None.

CustomerBill

string

None.

Signature

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Gender": "sample string 4",
  "BirthDate": "sample string 5",
  "Email": "sample string 6",
  "PIDType": 7,
  "PIDNumber": "sample string 8",
  "PIDDate": "sample string 9",
  "PIDPlace": "sample string 10",
  "PermanentProvinceID": 11,
  "PermanentDistrictID": 12,
  "PermanentWardID": 13,
  "PermanentStreet": "sample string 14",
  "ImgPIDBefore": "sample string 15",
  "ImgPIDAfter": "sample string 16",
  "ImgPIDSelfie": "sample string 17",
  "ImgBill": "sample string 18",
  "CustomerBill": "sample string 19",
  "Signature": "sample string 20"
}

application/xml, text/xml

Sample:
<InfoUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pis.Apay.Mobile.Api.Models">
  <AccountID>1</AccountID>
  <BirthDate>sample string 5</BirthDate>
  <CustomerBill>sample string 19</CustomerBill>
  <Email>sample string 6</Email>
  <FirstName>sample string 2</FirstName>
  <Gender>sample string 4</Gender>
  <ImgBill>sample string 18</ImgBill>
  <ImgPIDAfter>sample string 16</ImgPIDAfter>
  <ImgPIDBefore>sample string 15</ImgPIDBefore>
  <ImgPIDSelfie>sample string 17</ImgPIDSelfie>
  <LastName>sample string 3</LastName>
  <PIDDate>sample string 9</PIDDate>
  <PIDNumber>sample string 8</PIDNumber>
  <PIDPlace>sample string 10</PIDPlace>
  <PIDType>7</PIDType>
  <PermanentDistrictID>12</PermanentDistrictID>
  <PermanentProvinceID>11</PermanentProvinceID>
  <PermanentStreet>sample string 14</PermanentStreet>
  <PermanentWardID>13</PermanentWardID>
  <Signature>sample string 20</Signature>
</InfoUpdateRequest>

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

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>