This API is used to get Customer

Note: If there is no ${customerId} in URI, it will derive ${customerId} from accessKeyId.

1. 1.Request Definition

  • API URL${customerId}
  • Request Protocol
  • Request Header

Request Header

  • Request Body

No request body for this API.

  • Request Example
GET /v1.1/customer/1 HTTP/1.1

Authorization:HMAC-SHA256 V265i4K31j991E19:bc051d2e520a462e36455dc75b2bc68e9a135bbf4d2fefbf6d2fc1f28c5aa5dc
Content-Type:application/json; charset=utf-8

2. 2.Response Definition

This section is intended to describe response header and body data definition.

2.1. 2.1 Success Response

  • Success Response Body
Field Data Type Description
id Integer customer id
name string customer name
parentId Integer parent id
type Short 1 partner 2 customer
partnership Short Ignore this field
region string region
  • Success Response Body Example
  "id": 1,
  "name": "swiftFederation",
  "parentId": 0,
  "type": 1,
  "partnership": 1,
  "region": "SG"

2.2. 2.2 Error Response

  • Error Response Code

Error Code

  • Error Response Example
HTTP/1.1 403
"message":"Can't access according to this access key id."
© 2019 Conversant Solutions Pte Ltd. All rights reserved.            Updated 2019-04-01 17:40:00

results matching ""

    No results matching ""