Endpoint
/api/v2/tenants/{tenantId}/serviceRequests/{serviceRequestId}/responses
Path Parameters
tenantIdstring
serviceRequestIdstring
attachmentsarray
Child Parameters
- attachments.contentURL
- attachments.createdDate
- attachments.file
- attachments.id
- attachments.name
createdDatestring
creatorobject
Child Parameters
- creator.email
- creator.firstName
- creator.id
- creator.lastName
- creator.loginName
- creator.phoneNumber
descriptionstring
extTicketResponseIdstring
hasAttachmentsboolean
internalboolean
tagsstring
timeSpentinteger
{
"attachments": [
{
"file": "U2FtcGxlIFRleHQgZmlsZS0gdGVzdGluZyB3aXRoIGF0dGFjaG1lbnQ=",
"name": "file-1.txt"
},
{
"file": "U2FtcGxlIFRleHQgZmlsZS0gdGVzdGluZyB3aXRoIGF0dGFjaG1lbnQ=",
"name": "file-2.txt"
}
],
"creator": {
"id": "USR0000002146",
"loginName": "FSSL-API-Lab-User-1"
},
"description": "Service Request Attachment",
"internal": false,
"tags": "API, Service"
}
Responses
OK
attachmentsarray
Child Parameters
- attachments.contentURL
- attachments.createdDate
- attachments.file
- attachments.id
- attachments.name
createdDatestring
creatorobject
Child Parameters
- creator.email
- creator.firstName
- creator.id
- creator.lastName
- creator.loginName
- creator.phoneNumber
descriptionstring
extTicketResponseIdstring
hasAttachmentsboolean
internalboolean
tagsstring
timeSpentinteger
{
"attachments": [
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_7/serviceRequests/SRQ0000001113/responses/1907/resources/104",
"createdDate": "2016-03-29T11:57:45+0000",
"id": 104,
"name": "file-1.txt"
},
{
"contentURL": "https://\u003capi-url\u003e/api/v2/tenants/client_7/serviceRequests/SRQ0000001113/responses/1907/resources/105",
"createdDate": "2016-03-29T11:57:45+0000",
"id": 105,
"name": "file-2.txt"
}
],
"createdDate": "2016-03-29T11:57:45+0000",
"creator": {
"email": "fssl.user@gmail.com",
"firstName": "FSSL",
"id": "USR0000002146",
"lastName": "API-Lab",
"loginName": "FSSL-API-Lab-User-1"
},
"description": "Service Request Attachment",
"hasAttachments": true,
"internal": false,
"tags": "API,Service"
}