| GET,OPTIONS | /v1/records/requests |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Requests | form | List<RecordsRequestDto> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RequestId | form | int | No | |
| RequestKey | form | string | No | |
| Subject | form | string | No | |
| Body | form | string | No | |
| RequesterName | form | string | No | |
| RequesterContact | form | string | No | |
| Channel | form | string | No | |
| ReceivedLabel | form | string | No | |
| Status | form | string | No | |
| ExtendedDays | form | int | No | |
| ItemsJson | form | string | No | |
| LogJson | form | string | No | |
| DueDate | form | string | No | |
| DueDays | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/records/requests HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Requests:
[
{
RequestId: 0,
RequestKey: String,
Subject: String,
Body: String,
RequesterName: String,
RequesterContact: String,
Channel: String,
ReceivedLabel: String,
Status: String,
ExtendedDays: 0,
ItemsJson: String,
LogJson: String,
DueDate: String,
DueDays: 0
}
]
}