CCC API v8.4.0.0

<back to all web services

SearchArchiveLogs

The following routes are available for this service:
POST/api/collections/{CollectionGuid}/messagearchiving/logsGet message archiving logs.
SearchArchiveLogs Parameters:
NameParameterData TypeRequiredDescription
CollectionGuidpathGuidNo
ArchiveProviderGuidbodyGuidNo
ServiceGuidbodyGuidNo
MessageGuidbodyGuidNo
StatusbodyString[]No

Allowable Values

  • Pending
  • Completed
  • InProgress
  • Failed
  • Unknown
TokenbodyStringNo
SortbodyArchiveLogItemSortNo
PagebodyIntegerNo
PageSizebodyIntegerNo
ArchiveLogItemSort Parameters:
NameParameterData TypeRequiredDescription
TypeformstringNo

Allowable Values

  • Created
  • Completed
DirectionformstringNo

Allowable Values

  • ASC
  • DESC
SearchArchiveLogsResponse Parameters:
NameParameterData TypeRequiredDescription
PageSizeformintNo
TotalPagesformintNo
TotalItemsformintNo
CurrentPageformintNo
ResultsformList<ArchiveLogItem>No
ResponseStatusformResponseStatusNo
ArchiveLogItem Parameters:
NameParameterData TypeRequiredDescription
ArchiveLogItemGuidformGuidNo
ArchiveProviderGuidformGuidNo
ServiceGuidformGuidNo
MessageGuidformGuidNo
AttachmentGuidformGuidNo
StatusformstringNo

Allowable Values

  • Pending
  • Completed
  • InProgress
  • Failed
  • Unknown
CreatedOnformDateTimeNo
CompletedOnformDateTime?No
NotesformstringNo
NoteDetailformstringNo
SenderEmailformstringNo
SubjectformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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"
    }
  }
}