The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /api/collections/{CollectionGuid}/messagearchiving/logs HTTP/1.1
Host: api.secure-messaging.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{
"collectionGuid": "00000000000000000000000000000000",
"archiveProviderGuid": "00000000000000000000000000000000",
"serviceGuid": "00000000000000000000000000000000",
"messageGuid": "00000000000000000000000000000000",
"status": [
"String"
],
"token": "String",
"sort": {
"type": "String",
"direction": "String"
},
"page": 0,
"pageSize": 0
}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{
"pageSize": 0,
"totalPages": 0,
"totalItems": 0,
"currentPage": 0,
"results": [
{
"archiveLogItemGuid": "00000000000000000000000000000000",
"archiveProviderGuid": "00000000000000000000000000000000",
"serviceGuid": "00000000000000000000000000000000",
"messageGuid": "00000000000000000000000000000000",
"attachmentGuid": "00000000000000000000000000000000",
"status": "String",
"createdOn": "0001-01-01T00:00:00Z",
"completedOn": "0001-01-01T00:00:00Z",
"notes": "String",
"noteDetail": "String",
"senderEmail": "String",
"subject": "String"
}
],
"responseStatus": {
"errorCode": "String",
"message": "String",
"stackTrace": "String",
"errors": [
{
"errorCode": "String",
"fieldName": "String",
"message": "String",
"meta": {
"String": "String"
}
}
],
"meta": {
"String": "String"
}
}
}