POST api/Comments
Used to retrieve the historical statuses and lifecycle events for a token, such as when it was initially activated, subsequently suspended or resumed, and finally deleted.
Request Information
URI Parameters
None.
Body Parameters
TokenStatusHistoryRequest
CommentsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TokenUniqueReference |
The TokenUniqueReference of the token. Length - 48 Characters Example: DWSPMC00000000010906a349d9ca4eb1a4d53e3c90a11d9c |
string |
Required |
| AuditInfo |
Audit Info - See AuditInfo Object Documentation |
AuditInfo |
Required |
Request Formats
application/json, text/json
Sample:
{
"tokenUniqueReference": "sample string 1",
"auditInfo": {
"userId": "sample string 1",
"userName": "sample string 2",
"organization": "sample string 3",
"phone": "sample string 4"
}
}
application/xml, text/xml
Sample:
<CommentsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDES.CustomerService.Models">
<AuditInfo>
<Organization>sample string 3</Organization>
<Phone>sample string 4</Phone>
<UserId>sample string 1</UserId>
<UserName>sample string 2</UserName>
</AuditInfo>
<TokenUniqueReference>sample string 1</TokenUniqueReference>
</CommentsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TokenStatusHistoryResponse
CommentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Comments |
Collection of Comment Objects |
Collection of Comment |
None. |
Response Formats
application/json, text/json
Sample:
{
"comments": [
{
"commentId": "sample string 1",
"commentText": "sample string 2",
"commentDateTime": "sample string 3",
"auditInfo": {
"userId": "sample string 1",
"userName": "sample string 2",
"organization": "sample string 3",
"phone": "sample string 4"
}
},
{
"commentId": "sample string 1",
"commentText": "sample string 2",
"commentDateTime": "sample string 3",
"auditInfo": {
"userId": "sample string 1",
"userName": "sample string 2",
"organization": "sample string 3",
"phone": "sample string 4"
}
}
]
}
application/xml, text/xml
Sample:
<CommentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MDES.CustomerService.Models">
<Comments>
<Comment>
<AuditInfo>
<Organization>sample string 3</Organization>
<Phone>sample string 4</Phone>
<UserId>sample string 1</UserId>
<UserName>sample string 2</UserName>
</AuditInfo>
<CommentDateTime>sample string 3</CommentDateTime>
<CommentId>sample string 1</CommentId>
<CommentText>sample string 2</CommentText>
</Comment>
<Comment>
<AuditInfo>
<Organization>sample string 3</Organization>
<Phone>sample string 4</Phone>
<UserId>sample string 1</UserId>
<UserName>sample string 2</UserName>
</AuditInfo>
<CommentDateTime>sample string 3</CommentDateTime>
<CommentId>sample string 1</CommentId>
<CommentText>sample string 2</CommentText>
</Comment>
</Comments>
</CommentResponse>