POST PPOB/Inquiry

Request Information

URI Parameters

None.

Body Parameters

PPOBInquiryRequest
NameDescriptionTypeAdditional information
productCode

string

None.

customerID

string

None.

customerMSISDN

string

None.

userID

user API

string

None.

accessToken

access code getting from login

string

None.

Request Formats

application/json, text/json

Sample:
{
  "productCode": "sample string 1",
  "customerID": "sample string 2",
  "customerMSISDN": "sample string 3",
  "userID": "sample string 4",
  "accessToken": "sample string 5"
}

application/xml, text/xml

Sample:
<PPOBInquiryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 5</accessToken>
  <userID>sample string 4</userID>
  <customerID>sample string 2</customerID>
  <customerMSISDN>sample string 3</customerMSISDN>
  <productCode>sample string 1</productCode>
</PPOBInquiryRequest>

Response Information

Resource Description

PPOBInquiryResponse
NameDescriptionTypeAdditional information
productCode

string

None.

billingReferenceID

string

None.

customerID

string

None.

customerMSISDN

string

None.

customerName

string

None.

period

string

None.

policeNumber

string

None.

lastPaidPeriod

string

None.

tenor

string

None.

lastPaidDueDate

string

None.

usageUnit

string

None.

penalty

decimal number

None.

payment

decimal number

None.

minPayment

decimal number

None.

maxPayment

decimal number

None.

additionalMessage

string

None.

productGroup

string

None.

billing

decimal number

None.

sellPrice

decimal number

None.

adminBank

decimal number

None.

profit

decimal number

None.

BPJSDetail

Collection of BPJSDetailModel

None.

powerRate

string

None.

standmeter

string

None.

respTime

describe time in sending response

date

None.

userID

user ID to access API

string

None.

accessToken

access token that needed to access API

string

None.

status

SUCCESS or FAILED

string

None.

respMessage

detail message of response status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "productCode": "sample string 1",
  "billingReferenceID": "sample string 2",
  "customerID": "sample string 3",
  "customerMSISDN": "sample string 4",
  "customerName": "sample string 5",
  "period": "sample string 6",
  "policeNumber": "sample string 7",
  "lastPaidPeriod": "sample string 8",
  "tenor": "sample string 9",
  "lastPaidDueDate": "sample string 10",
  "usageUnit": "sample string 11",
  "penalty": 12.0,
  "payment": 13.0,
  "minPayment": 14.0,
  "maxPayment": 15.0,
  "additionalMessage": "sample string 16",
  "productGroup": "sample string 17",
  "billing": 18.0,
  "sellPrice": 19.0,
  "adminBank": 20.0,
  "profit": 21.0,
  "BPJSDetail": [
    {
      "id": "sample string 1",
      "nama": "sample string 2",
      "tagihan": 3.0
    },
    {
      "id": "sample string 1",
      "nama": "sample string 2",
      "tagihan": 3.0
    }
  ],
  "powerRate": "sample string 22",
  "standmeter": "sample string 23",
  "respTime": "2021-11-27T11:44:15.0180092+07:00",
  "userID": "sample string 25",
  "accessToken": "sample string 26",
  "status": "sample string 27",
  "respMessage": "sample string 28"
}

application/xml, text/xml

Sample:
<PPOBInquiryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cebes.DI.H2H.Api.Models">
  <accessToken>sample string 26</accessToken>
  <respMessage>sample string 28</respMessage>
  <respTime>2021-11-27T11:44:15.0180092+07:00</respTime>
  <status>sample string 27</status>
  <userID>sample string 25</userID>
  <BPJSDetail>
    <BPJSDetailModel>
      <id>sample string 1</id>
      <nama>sample string 2</nama>
      <tagihan>3</tagihan>
    </BPJSDetailModel>
    <BPJSDetailModel>
      <id>sample string 1</id>
      <nama>sample string 2</nama>
      <tagihan>3</tagihan>
    </BPJSDetailModel>
  </BPJSDetail>
  <additionalMessage>sample string 16</additionalMessage>
  <adminBank>20</adminBank>
  <billing>18</billing>
  <billingReferenceID>sample string 2</billingReferenceID>
  <customerID>sample string 3</customerID>
  <customerMSISDN>sample string 4</customerMSISDN>
  <customerName>sample string 5</customerName>
  <lastPaidDueDate>sample string 10</lastPaidDueDate>
  <lastPaidPeriod>sample string 8</lastPaidPeriod>
  <maxPayment>15</maxPayment>
  <minPayment>14</minPayment>
  <payment>13</payment>
  <penalty>12</penalty>
  <period>sample string 6</period>
  <policeNumber>sample string 7</policeNumber>
  <powerRate>sample string 22</powerRate>
  <productCode>sample string 1</productCode>
  <productGroup>sample string 17</productGroup>
  <profit>21</profit>
  <sellPrice>19</sellPrice>
  <standmeter>sample string 23</standmeter>
  <tenor>sample string 9</tenor>
  <usageUnit>sample string 11</usageUnit>
</PPOBInquiryResponse>