Request Headers (Applies to all methods)
GET
/api/apps/{appID}/users/{userID}/payloads/{payloadID}
Retrieval all the information of push message
Can be accessed with administrator credentials or user credentials with the same UserID.
Content-Type (None)
Content-Type application/vnd.kii.PushPayloadIDNotFoundException+json
| Name | Type | Description | 
|---|---|---|
| errorCode | string | Error code "PAYLOAD_ID_NOT_FOUND". | 
| message | string | The error message. | 
| userID | string | The userID | 
| payloadID | string | The requested payloadID | 
| appID | string | The ID of the application. | 
Content-Type application/vnd.kii.UnauthorizedAccessException+json
| Name | Type | Description | 
|---|---|---|
| errorCode | string | Error code "UNAUTHORIZED". | 
| message | string | The error message. | 
| authenticatedAppID | string | The authenticated appID. | 
| authenticatedPrincipalID | string | The authenticated principal ID (userID or thingID). | 
DELETE
/api/apps/{appID}/users/{userID}/payloads/{payloadID}
Delete the payloadID
Can be accessed with administrator credentials or user credentials with the same UserID.
Content-Type (None)
Content-Type application/vnd.kii.PushPayloadIDNotFoundException+json
| Name | Type | Description | 
|---|---|---|
| errorCode | string | Error code "PAYLOAD_ID_NOT_FOUND". | 
| message | string | The error message. | 
| userID | string | The userID | 
| payloadID | string | The requested payloadID | 
| appID | string | The ID of the application. | 
Content-Type application/vnd.kii.UnauthorizedAccessException+json
| Name | Type | Description | 
|---|---|---|
| errorCode | string | Error code "UNAUTHORIZED". | 
| message | string | The error message. | 
| authenticatedAppID | string | The authenticated appID. | 
| authenticatedPrincipalID | string | The authenticated principal ID (userID or thingID). |