POST api/Point/UpdatePin

Request Information

URI Parameters

None.

Body Parameters

AccountPointModels
NameDescriptionTypeAdditional information
CID

string

None.

Mobile

string

None.

Email

string

None.

Language

string

None.

UUID

string

None.

PIN

string

None.

Profile

ProfileModels

None.

CAList

Collection of CAModels

None.

Request Formats

application/json, text/json

Sample:
{
  "CID": "sample string 1",
  "Mobile": "sample string 2",
  "Email": "sample string 3",
  "Language": "sample string 4",
  "UUID": "sample string 5",
  "PIN": "sample string 6",
  "Profile": {
    "title_code": "sample string 1",
    "title_name": "sample string 2",
    "firstname": "sample string 3",
    "lastname": "sample string 4",
    "date_of_birth": "sample string 5",
    "home_number": "sample string 6",
    "moo": "sample string 7",
    "building_name": "sample string 8",
    "room_number": "sample string 9",
    "building_floor": "sample string 10",
    "soi": "sample string 11",
    "road": "sample string 12",
    "province_code": "sample string 13",
    "province_name": "sample string 14",
    "district_code": "sample string 15",
    "district_name": "sample string 16",
    "subdistrict_code": "sample string 17",
    "subdistrict_name": "sample string 18",
    "postcode": "sample string 19"
  },
  "CAList": [
    {
      "CID": "sample string 1",
      "ca_no": "sample string 2",
      "pea_no": "sample string 3",
      "full_name": "sample string 4",
      "alias": "sample string 5",
      "address": "sample string 6",
      "CABill": {
        "ca_no": "sample string 1",
        "pea_no": "sample string 2",
        "invoice_no": "sample string 3",
        "invoice_date": "sample string 4",
        "month_bill": "sample string 5",
        "duedate": "sample string 6",
        "amount": "sample string 7",
        "unit_use": "sample string 8",
        "qrcode": "sample string 9",
        "status_ca_th": "sample string 10",
        "status_ca_en": "sample string 11"
      }
    },
    {
      "CID": "sample string 1",
      "ca_no": "sample string 2",
      "pea_no": "sample string 3",
      "full_name": "sample string 4",
      "alias": "sample string 5",
      "address": "sample string 6",
      "CABill": {
        "ca_no": "sample string 1",
        "pea_no": "sample string 2",
        "invoice_no": "sample string 3",
        "invoice_date": "sample string 4",
        "month_bill": "sample string 5",
        "duedate": "sample string 6",
        "amount": "sample string 7",
        "unit_use": "sample string 8",
        "qrcode": "sample string 9",
        "status_ca_th": "sample string 10",
        "status_ca_en": "sample string 11"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<AccountPointModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PointModels">
  <CAList>
    <CAModels>
      <CABill>
        <amount>sample string 7</amount>
        <ca_no>sample string 1</ca_no>
        <duedate>sample string 6</duedate>
        <invoice_date>sample string 4</invoice_date>
        <invoice_no>sample string 3</invoice_no>
        <month_bill>sample string 5</month_bill>
        <pea_no>sample string 2</pea_no>
        <qrcode>sample string 9</qrcode>
        <status_ca_en>sample string 11</status_ca_en>
        <status_ca_th>sample string 10</status_ca_th>
        <unit_use>sample string 8</unit_use>
      </CABill>
      <CID>sample string 1</CID>
      <address>sample string 6</address>
      <alias>sample string 5</alias>
      <ca_no>sample string 2</ca_no>
      <full_name>sample string 4</full_name>
      <pea_no>sample string 3</pea_no>
    </CAModels>
    <CAModels>
      <CABill>
        <amount>sample string 7</amount>
        <ca_no>sample string 1</ca_no>
        <duedate>sample string 6</duedate>
        <invoice_date>sample string 4</invoice_date>
        <invoice_no>sample string 3</invoice_no>
        <month_bill>sample string 5</month_bill>
        <pea_no>sample string 2</pea_no>
        <qrcode>sample string 9</qrcode>
        <status_ca_en>sample string 11</status_ca_en>
        <status_ca_th>sample string 10</status_ca_th>
        <unit_use>sample string 8</unit_use>
      </CABill>
      <CID>sample string 1</CID>
      <address>sample string 6</address>
      <alias>sample string 5</alias>
      <ca_no>sample string 2</ca_no>
      <full_name>sample string 4</full_name>
      <pea_no>sample string 3</pea_no>
    </CAModels>
  </CAList>
  <CID>sample string 1</CID>
  <Email>sample string 3</Email>
  <Language>sample string 4</Language>
  <Mobile>sample string 2</Mobile>
  <PIN>sample string 6</PIN>
  <Profile>
    <building_floor>sample string 10</building_floor>
    <building_name>sample string 8</building_name>
    <date_of_birth>sample string 5</date_of_birth>
    <district_code>sample string 15</district_code>
    <district_name>sample string 16</district_name>
    <firstname>sample string 3</firstname>
    <home_number>sample string 6</home_number>
    <lastname>sample string 4</lastname>
    <moo>sample string 7</moo>
    <postcode>sample string 19</postcode>
    <province_code>sample string 13</province_code>
    <province_name>sample string 14</province_name>
    <road>sample string 12</road>
    <room_number>sample string 9</room_number>
    <soi>sample string 11</soi>
    <subdistrict_code>sample string 17</subdistrict_code>
    <subdistrict_name>sample string 18</subdistrict_name>
    <title_code>sample string 1</title_code>
    <title_name>sample string 2</title_name>
  </Profile>
  <UUID>sample string 5</UUID>
</AccountPointModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfAccountPointModels
NameDescriptionTypeAdditional information
Data

AccountPointModels

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "CID": "sample string 1",
    "Mobile": "sample string 2",
    "Email": "sample string 3",
    "Language": "sample string 4",
    "UUID": "sample string 5",
    "PIN": "sample string 6",
    "Profile": {
      "title_code": "sample string 1",
      "title_name": "sample string 2",
      "firstname": "sample string 3",
      "lastname": "sample string 4",
      "date_of_birth": "sample string 5",
      "home_number": "sample string 6",
      "moo": "sample string 7",
      "building_name": "sample string 8",
      "room_number": "sample string 9",
      "building_floor": "sample string 10",
      "soi": "sample string 11",
      "road": "sample string 12",
      "province_code": "sample string 13",
      "province_name": "sample string 14",
      "district_code": "sample string 15",
      "district_name": "sample string 16",
      "subdistrict_code": "sample string 17",
      "subdistrict_name": "sample string 18",
      "postcode": "sample string 19"
    },
    "CAList": [
      {
        "CID": "sample string 1",
        "ca_no": "sample string 2",
        "pea_no": "sample string 3",
        "full_name": "sample string 4",
        "alias": "sample string 5",
        "address": "sample string 6",
        "CABill": {
          "ca_no": "sample string 1",
          "pea_no": "sample string 2",
          "invoice_no": "sample string 3",
          "invoice_date": "sample string 4",
          "month_bill": "sample string 5",
          "duedate": "sample string 6",
          "amount": "sample string 7",
          "unit_use": "sample string 8",
          "qrcode": "sample string 9",
          "status_ca_th": "sample string 10",
          "status_ca_en": "sample string 11"
        }
      },
      {
        "CID": "sample string 1",
        "ca_no": "sample string 2",
        "pea_no": "sample string 3",
        "full_name": "sample string 4",
        "alias": "sample string 5",
        "address": "sample string 6",
        "CABill": {
          "ca_no": "sample string 1",
          "pea_no": "sample string 2",
          "invoice_no": "sample string 3",
          "invoice_date": "sample string 4",
          "month_bill": "sample string 5",
          "duedate": "sample string 6",
          "amount": "sample string 7",
          "unit_use": "sample string 8",
          "qrcode": "sample string 9",
          "status_ca_th": "sample string 10",
          "status_ca_en": "sample string 11"
        }
      }
    ]
  },
  "Status": true,
  "ErrorMessage": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfAccountPointModelsdZjBomD8 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.PointModels">
    <d2p1:CAList>
      <d2p1:CAModels>
        <d2p1:CABill>
          <d2p1:amount>sample string 7</d2p1:amount>
          <d2p1:ca_no>sample string 1</d2p1:ca_no>
          <d2p1:duedate>sample string 6</d2p1:duedate>
          <d2p1:invoice_date>sample string 4</d2p1:invoice_date>
          <d2p1:invoice_no>sample string 3</d2p1:invoice_no>
          <d2p1:month_bill>sample string 5</d2p1:month_bill>
          <d2p1:pea_no>sample string 2</d2p1:pea_no>
          <d2p1:qrcode>sample string 9</d2p1:qrcode>
          <d2p1:status_ca_en>sample string 11</d2p1:status_ca_en>
          <d2p1:status_ca_th>sample string 10</d2p1:status_ca_th>
          <d2p1:unit_use>sample string 8</d2p1:unit_use>
        </d2p1:CABill>
        <d2p1:CID>sample string 1</d2p1:CID>
        <d2p1:address>sample string 6</d2p1:address>
        <d2p1:alias>sample string 5</d2p1:alias>
        <d2p1:ca_no>sample string 2</d2p1:ca_no>
        <d2p1:full_name>sample string 4</d2p1:full_name>
        <d2p1:pea_no>sample string 3</d2p1:pea_no>
      </d2p1:CAModels>
      <d2p1:CAModels>
        <d2p1:CABill>
          <d2p1:amount>sample string 7</d2p1:amount>
          <d2p1:ca_no>sample string 1</d2p1:ca_no>
          <d2p1:duedate>sample string 6</d2p1:duedate>
          <d2p1:invoice_date>sample string 4</d2p1:invoice_date>
          <d2p1:invoice_no>sample string 3</d2p1:invoice_no>
          <d2p1:month_bill>sample string 5</d2p1:month_bill>
          <d2p1:pea_no>sample string 2</d2p1:pea_no>
          <d2p1:qrcode>sample string 9</d2p1:qrcode>
          <d2p1:status_ca_en>sample string 11</d2p1:status_ca_en>
          <d2p1:status_ca_th>sample string 10</d2p1:status_ca_th>
          <d2p1:unit_use>sample string 8</d2p1:unit_use>
        </d2p1:CABill>
        <d2p1:CID>sample string 1</d2p1:CID>
        <d2p1:address>sample string 6</d2p1:address>
        <d2p1:alias>sample string 5</d2p1:alias>
        <d2p1:ca_no>sample string 2</d2p1:ca_no>
        <d2p1:full_name>sample string 4</d2p1:full_name>
        <d2p1:pea_no>sample string 3</d2p1:pea_no>
      </d2p1:CAModels>
    </d2p1:CAList>
    <d2p1:CID>sample string 1</d2p1:CID>
    <d2p1:Email>sample string 3</d2p1:Email>
    <d2p1:Language>sample string 4</d2p1:Language>
    <d2p1:Mobile>sample string 2</d2p1:Mobile>
    <d2p1:PIN>sample string 6</d2p1:PIN>
    <d2p1:Profile>
      <d2p1:building_floor>sample string 10</d2p1:building_floor>
      <d2p1:building_name>sample string 8</d2p1:building_name>
      <d2p1:date_of_birth>sample string 5</d2p1:date_of_birth>
      <d2p1:district_code>sample string 15</d2p1:district_code>
      <d2p1:district_name>sample string 16</d2p1:district_name>
      <d2p1:firstname>sample string 3</d2p1:firstname>
      <d2p1:home_number>sample string 6</d2p1:home_number>
      <d2p1:lastname>sample string 4</d2p1:lastname>
      <d2p1:moo>sample string 7</d2p1:moo>
      <d2p1:postcode>sample string 19</d2p1:postcode>
      <d2p1:province_code>sample string 13</d2p1:province_code>
      <d2p1:province_name>sample string 14</d2p1:province_name>
      <d2p1:road>sample string 12</d2p1:road>
      <d2p1:room_number>sample string 9</d2p1:room_number>
      <d2p1:soi>sample string 11</d2p1:soi>
      <d2p1:subdistrict_code>sample string 17</d2p1:subdistrict_code>
      <d2p1:subdistrict_name>sample string 18</d2p1:subdistrict_name>
      <d2p1:title_code>sample string 1</d2p1:title_code>
      <d2p1:title_name>sample string 2</d2p1:title_name>
    </d2p1:Profile>
    <d2p1:UUID>sample string 5</d2p1:UUID>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Message>sample string 3</Message>
  <Status>true</Status>
</ResultModelOfAccountPointModelsdZjBomD8>