Provides examples for a conformant API
Provides examples for a conformant API
https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/party-reference/customers
curl -i -X GET \
-u <username>:<password> \
'https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/party-reference/customers?page=1&pageSize=50' \
-H 'x-idempotency-id: b8b5ee3a-a755-45e5-a814-d869e432d9a9' \
-H 'x-request-id: 582dd6b6-61d3-46d5-bcdc-81fad7c27822'successful operation
The maximum number of requests you're permitted to make per hour.
The number of requests remaining in the current rate limit window.
The time at which the current rate limit window resets in UTC epoch seconds.
Specifies the media type of the request or response body. If the content is a text-based type, the Content-type must include a character-set parameter of UTF-8.
date and time of the creation of the customer model
last date and time the customer model was modified
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "ABC Corp Ltd", "dateOfBirth": "1990-06-12", "createdAt": "2023-06-25T06:43:40.252Z", "modifiedAt": "2023-06-29T06:43:40.252Z" } ]
https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/party-reference/customers/{customer-id}
curl -i -X GET \
-u <username>:<password> \
'https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/party-reference/customers/{customer-id}?page=1&pageSize=50' \
-H 'x-idempotency-id: b8b5ee3a-a755-45e5-a814-d869e432d9a9' \
-H 'x-request-id: 582dd6b6-61d3-46d5-bcdc-81fad7c27822'Successful response
The maximum number of requests you're permitted to make per hour.
The number of requests remaining in the current rate limit window.
The time at which the current rate limit window resets in UTC epoch seconds.
Specifies the media type of the request or response body. If the content is a text-based type, the Content-type must include a character-set parameter of UTF-8.
date and time of the creation of the customer model
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "ABC Corp Ltd", "dateOfBirth": "1990-06-12", "createdAt": "2023-06-25T06:43:40.252Z", "modifiedAt": "2023-06-29T06:43:40.252Z" }
date and time of the creation of the customer model
last date and time the customer model was modified
https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/party-reference/customers/{customer-id}
curl -i -X PUT \
-u <username>:<password> \
'https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/party-reference/customers/{customer-id}?name=string' \
-H 'Content-Type: application/json' \
-H 'x-idempotency-id: b8b5ee3a-a755-45e5-a814-d869e432d9a9' \
-H 'x-request-id: 582dd6b6-61d3-46d5-bcdc-81fad7c27822' \
-d '[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "ABC Corp Ltd",
"dateOfBirth": "1990-06-12",
"createdAt": "2023-06-25T06:43:40.252Z",
"modifiedAt": "2023-06-29T06:43:40.252Z"
}
]'successful operation
The maximum number of requests you're permitted to make per hour.
The number of requests remaining in the current rate limit window.
The time at which the current rate limit window resets in UTC epoch seconds.
Specifies the media type of the request or response body. If the content is a text-based type, the Content-type must include a character-set parameter of UTF-8.
date and time of the creation of the customer model
last date and time the customer model was modified
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "ABC Corp Ltd", "dateOfBirth": "1990-06-12", "createdAt": "2023-06-25T06:43:40.252Z", "modifiedAt": "2023-06-29T06:43:40.252Z" } ]
https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/health
curl -i -X GET \
-u <username>:<password> \
https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/health \
-H 'x-request-id: 582dd6b6-61d3-46d5-bcdc-81fad7c27822'successful operation
The maximum number of requests you're permitted to make per hour.
The number of requests remaining in the current rate limit window.
The time at which the current rate limit window resets in UTC epoch seconds.
Specifies the media type of the request or response body. If the content is a text-based type, the Content-type must include a character-set parameter of UTF-8.
Indicates whether service is acceptable or not
{ "status": "HEALTHY", "message": "string", "checks": {} }
https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/health/info
curl -i -X GET \
https://developer.api.test.commbank.com.au/_mock/apis/dummy-product/rest-spec-2/api/health/info \
-H 'x-request-id: 582dd6b6-61d3-46d5-bcdc-81fad7c27822'sucessful operation
The maximum number of requests you're permitted to make per hour.
The number of requests remaining in the current rate limit window.
The time at which the current rate limit window resets in UTC epoch seconds.
Specifies the media type of the request or response body. If the content is a text-based type, the Content-type must include a character-set parameter of UTF-8.
Indicates whehter service is acceptable or not
{ "status": "HEALTHY", "message": "string", "checks": {} }