Get Product Detail By Product Id

URL

Returns the list and order of the values ​​to be written in the "subscriber_no1, subscriber_no2, subscriber_no3" fields to be used in the "GetInvoicesByProductAndSubscriber" service.

Example: 

If the response returns like this:

"subscriber_number_label": "Gsm",

"subscriber_number_key_size_order": "2" 

 Gsm No must be written in the "subscriber_no2" field in the "GetInvoicesByProductAndSubscriber" service. 

HTTP Method URL
POST /v1​/InvoicePayment​/GetProductDetailByProductId

Request Params

Params Type Mandatory Description
product_oid string Yes Institution ID

Response Params

Params Type
status integer
code string
message string
payload object[]
subscriber_number_default string
mandatory_params string
subscriber_number_length string
subscriber_number_description string
mandatory boolean
subscriber_number_label string
subscriber_number_pattern string
subscriber_number_suffix string
subscriber_number_key_size_order string
subscriber_number_sample string
subscriber_number_prefix string

REQUEST (POST):

{
  "product_oid": "8064fb0c-c556-4104-8fe4-9779c6dc3721"
}

RESPONSE:

{
    "status": 0,
    "code": "100",
    "message": null,
    "payload": [
        {
            "subscriber_number_default": "",
            "mandatory_params": "1",
            "subscriber_number_length": null,
            "subscriber_number_description": "",
            "mandatory": true,
            "subscriber_number_label": "Gsm",
            "subscriber_number_pattern": "",
            "subscriber_number_suffix": "",
            "subscriber_number_key_size_order": "1",
            "subscriber_number_sample": "",
            "subscriber_number_prefix": ""
        }
    ]
}