Get Product by Product ID

Description

Retrieves product instance details

Production URL

https://api.chorus.co.nz/linetest/v1/products/{productid}

Sandbox URL

https://api.sandbox.chorus.co.nz/linetest/v1/products/{productid}

Protocol

HTTPS

Request Method

GET

Response Format

JSON

Sample request

https://api.chorus.co.nz/linetest/v1/tests/products/1636028560

 

Request Headers

Name

Mandatory

Description

X-Chorus-Client-ID

Y

Client Id

X-Chorus-Client-Secret

Y

Client Secret

X-Transaction-ID

Y

Transaction-ID

 

URI parameters

Name

Description

Example

productId

The unique ID of the Product (i.e. ASID, Phone Number, Product ID).

1636028560

 

Response Header

Name

Value

Content-Type

application/json; charset=UTF-8

X-Transaction-ID

same value as the Request Header X-Transaction-ID

Date

response timestamp

Content-Length

response length

X-Chorus-API-Version

current version

X-RateLimit-Limit

refer to Rate Limiting

X-RateLimit-Remaining

refer to Rate Limiting

X-RateLimit-Reset

refer to Rate Limiting

 

Response Body

For more information, refer to the RAML in Anypoint or the Line Test API workbook. While we have taken great care with the information in the Line Test API workbook if you find any differences between the Line Test API workbook and the RAML, then refer to the RAML as the correct reference.