This example demonstrates the following:
Request
| Method | URL |
|---|---|
| GET | /ws/v12/interaction/case?customer=1014 |
Request headers
| Name | Value |
|---|---|
| X-egain-session | Valid session ID |
| Accept | application/xml |
| Accept-Language | en-US |
Response
HTTP/1.1 200 OK
Response headers
| Name | Value |
|---|---|
| X-egain-session | current session ID |
| Content-Type | application/xml |
Response body
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<cases xmlns="http://bindings.egain.com/ws/model/v12/gen/interaction/case"
xmlns:ns2="http://bindings.egain.com/ws/model/v12/gen/interaction/activity"
xmlns:ns3="http://bindings.egain.com/ws/model/v12/gen/platform"
xmlns:ns4="http://bindings.egain.com/ws/model/v12/gen/common"
xmlns:ns5="http://bindings.egain.com/ws/model/v12/gen/interaction/folder"
xmlns:ns6="http://bindings.egain.com/ws/model/v12/gen/interaction/customer"
xmlns:ns7="http://bindings.egain.com/ws/model/v12/gen/interaction/contactperson"
xmlns:ns8="http://bindings.egain.com/ws/model/v12/gen/interaction/contactpoint"
xmlns:ns9="http://bindings.egain.com/ws/model/v12/gen/kb"
xmlns:ns10="http://bindings.egain.com/ws/model/v15/gen/kb/edition"
xmlns:ns11="http://bindings.egain.com/ws/model/v15/gen/kb/profile"
xmlns:ns12="http://bindings.egain.com/ws/model/v12/gen/interaction/attachment"
xmlns:ns13="http://bindings.egain.com/ws/model/v12/gen/mail/alias"
xmlns:ns14="http://bindings.egain.com/ws/model/v12/gen/live/entrypoint">
<case id="1024">
<link rel="self" href="/system/ws/v12/interaction/case/1024"/>
<activities>
<ns2:link rel="activity" href="/system/ws/v12/interaction/activity?case=1024"/>
</activities>
<department id="999">
<ns3:name>Service</ns3:name>
</department>
<status>
<ns4:value>open</ns4:value>
<ns4:displayValue>Open</ns4:displayValue>
</status>
<lastModified date="2016-04-01T02:06:42.000Z">
<ns4:user id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</ns4:user>
</lastModified>
<dueDate>2016-04-05T07:00:00.000Z</dueDate>
<owner>
<user id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</user>
<folder id="13">
<ns5:name>
<ns4:value>cases_open</ns4:value>
<ns4:displayValue>Open</ns4:displayValue>
</ns5:name>
</folder>
</owner>
<customer id="1014">
<ns6:link rel="customer" href="/system/ws/v12/interaction/customer/1014"/>
<ns6:customerName>Steve Tytler</ns6:customerName>
</customer>
<severity>
<ns4:value>urgent</ns4:value>
<ns4:displayValue>Urgent</ns4:displayValue>
</severity>
<subject>Sound is not clear [#1024]</subject>
</case>
<paginationInfo>
<ns4:count>1</ns4:count>
<ns4:pagenum>1</ns4:pagenum>
<ns4:pagesize>25</ns4:pagesize>
</paginationInfo>
</cases>
Request
| Method | URL |
|---|---|
| GET | /ws/v12/interaction/case?customer=1014 |
Request headers
| Name | Value |
|---|---|
| X-egain-session | Valid session ID |
| Accept | application/json |
| Accept-Language | en-US |
Response
HTTP/1.1 200 OK
Response headers
| Name | Value |
|---|---|
| X-egain-session | current session ID |
| Content-Type | application/json |
Response body
{
"case": [
{
"link": {
"rel": "self",
"href": "/system/ws/v12/interaction/case/1024"
},
"activities": {
"link": {
"rel": "activity",
"href": "/system/ws/v12/interaction/activity?case=1024"
}
},
"department": {
"name": "Service",
"id": 999
},
"status": {
"value": "open",
"displayValue": "Open"
},
"lastModified": {
"user": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"date": "2016-04-01T02:06:42.000Z"
},
"dueDate": "2016-04-05T07:00:00.000Z",
"owner": {
"user": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"folder": {
"name": {
"value": "cases_open",
"displayValue": "Open"
},
"id": 13
}
},
"customer": {
"link": {
"rel": "customer",
"href": "/system/ws/v12/interaction/customer/1014"
},
"customerName": "Steve Tytler",
"id": 1014
},
"severity": {
"value": "urgent",
"displayValue": "Urgent"
},
"subject": "Sound is not clear [#1024]",
"id": 1024
}
],
"paginationInfo": {
"count": 1,
"pagenum": 1,
"pagesize": 25
}
}
This example demonstrates the following:
Request
| Method | URL |
|---|---|
| GET | /ws/v12/interaction/case?custom.work_status=Pending&status=open&$attribute=all&$sort=department&$order=asc&$rangestart=2&$rangesize=2 |
Request headers
| Name | Value |
|---|---|
| X-egain-session | Valid session ID |
| Accept | application/xml |
| Accept-Language | en-US |
Response
HTTP/1.1 200 OK
Response headers
| Name | Value |
|---|---|
| X-egain-session | current session ID |
| Content-Type | application/xml |
Response body
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<cases xmlns="http://bindings.egain.com/ws/model/v12/gen/interaction/case"
xmlns:ns2="http://bindings.egain.com/ws/model/v12/gen/interaction/activity"
xmlns:ns3="http://bindings.egain.com/ws/model/v12/gen/platform"
xmlns:ns4="http://bindings.egain.com/ws/model/v12/gen/common"
xmlns:ns5="http://bindings.egain.com/ws/model/v12/gen/interaction/folder"
xmlns:ns6="http://bindings.egain.com/ws/model/v12/gen/interaction/customer"
xmlns:ns7="http://bindings.egain.com/ws/model/v12/gen/interaction/contactperson"
xmlns:ns8="http://bindings.egain.com/ws/model/v12/gen/interaction/contactpoint"
xmlns:ns9="http://bindings.egain.com/ws/model/v12/gen/kb"
xmlns:ns10="http://bindings.egain.com/ws/model/v15/gen/kb/edition"
xmlns:ns11="http://bindings.egain.com/ws/model/v15/gen/kb/profile"
xmlns:ns12="http://bindings.egain.com/ws/model/v12/gen/interaction/attachment"
xmlns:ns13="http://bindings.egain.com/ws/model/v12/gen/mail/alias"
xmlns:ns14="http://bindings.egain.com/ws/model/v12/gen/live/entrypoint">
<case id="1000">
<link rel="self" href="/system/ws/v12/interaction/case/1000"/>
<activities>
<ns2:link rel="activity" href="/system/ws/v12/interaction/activity?case=1000"/>
</activities>
<department id="1000">
<ns3:name>Finance</ns3:name>
</department>
<status>
<ns4:value>ready_for_closure</ns4:value>
<ns4:displayValue>Ready for closure</ns4:displayValue>
</status>
<lastModified date="2016-04-01T01:52:54.000Z">
<ns4:user id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</ns4:user>
</lastModified>
<dueDate>2016-04-20T07:00:00.000Z</dueDate>
<owner>
<user id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</user>
<folder id="13">
<ns5:name>
<ns4:value>cases_open</ns4:value>
<ns4:displayValue>Open</ns4:displayValue>
</ns5:name>
</folder>
</owner>
<customer id="1000">
<ns6:link rel="customer" href="/system/ws/v12/interaction/customer/1000"/>
<ns6:customerName>John Russel Tierney</ns6:customerName>
</customer>
<severity>
<ns4:value>medium</ns4:value>
<ns4:displayValue>Medium</ns4:displayValue>
</severity>
<subject>Charging is too slow [#1000]</subject>
<originatingChannel>
<ns4:value>Call_Track</ns4:value>
<ns4:displayValue>Calltrack</ns4:displayValue>
</originatingChannel>
<created date="2015-02-10T23:07:47.000Z">
<ns4:user id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</ns4:user>
</created>
<description>The charger being used for not of the recommended configuration</description>
<solution>Change the changer to a recommended configuration</solution>
<userLastWorked id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</userLastWorked>
<customAttributes>
<ns4:customAttribute>
<ns4:attribName>work_status</ns4:attribName>
<ns4:attribValues>
<ns4:attribValue>
<ns4:value>Pending</ns4:value>
</ns4:attribValue>
</ns4:attribValues>
</ns4:customAttribute>
</customAttributes>
<notes rel="note" href="/system/ws/v12/interaction/case/1000/note"/>
</case>
<case id="1016">
<link rel="self" href="/system/ws/v12/interaction/case/1016"/>
<activities>
<ns2:link rel="activity" href="/system/ws/v12/interaction/activity?case=1016"/>
</activities>
<department id="999">
<ns3:name>Service</ns3:name>
</department>
<status>
<ns4:value>open</ns4:value>
<ns4:displayValue>Open</ns4:displayValue>
</status>
<lastModified date="2015-03-18T22:12:51.000Z">
<ns4:user id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</ns4:user>
</lastModified>
<owner>
<user id="1004">
<ns3:name>a3</ns3:name>
</user>
</owner>
<customer id="1000">
<ns6:link rel="customer" href="/system/ws/v12/interaction/customer/1000"/>
<ns6:customerName>John Russel Tierney</ns6:customerName>
</customer>
<severity>
<ns4:value>medium</ns4:value>
<ns4:displayValue>Medium</ns4:displayValue>
</severity>
<subject>No Subject[#1016]</subject>
<originatingChannel>
<ns4:value>Email</ns4:value>
<ns4:displayValue>Email</ns4:displayValue>
</originatingChannel>
<created date="2015-03-18T22:12:51.000Z">
<ns4:user id="1004">
<ns3:name>a3</ns3:name>
</ns4:user>
</created>
<userLastWorked id="1004">
<ns3:name>a3</ns3:name>
</userLastWorked>
<customAttributes>
<ns4:customAttribute>
<ns4:attribName>work_status</ns4:attribName>
<ns4:attribValues>
<ns4:attribValue>
<ns4:value>Pending</ns4:value>
</ns4:attribValue>
</ns4:attribValues>
</ns4:customAttribute>
</customAttributes>
<notes rel="note" href="/system/ws/v12/interaction/case/1016/note"/>
</case>
</cases>
Request
| Method | URL |
|---|---|
| GET | /ws/v12/interaction/case?custom.work_status=Pending&status=open&$attribute=all&$sort=department&$order=asc&$rangestart=2&$rangesize=2 |
Request headers
| Name | Value |
|---|---|
| X-egain-session | Valid session ID |
| Accept | application/json |
| Accept-Language | en-US |
Response
HTTP/1.1 200 OK
Response headers
| Name | Value |
|---|---|
| X-egain-session | current session ID |
| Content-Type | application/json |
Response body
{
"case": [
{
"link": {
"rel": "self",
"href": "/system/ws/v12/interaction/case/1000"
},
"activities": {
"link": {
"rel": "activity",
"href": "/system/ws/v12/interaction/activity?case=1000"
}
},
"department": {
"name": "Finance",
"id": 1000
},
"status": {
"value": "ready_for_closure",
"displayValue": "Ready for closure"
},
"lastModified": {
"user": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"date": "2016-04-01T01:52:54.000Z"
},
"dueDate": "2016-04-20T07:00:00.000Z",
"owner": {
"user": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"folder": {
"name": {
"value": "cases_open",
"displayValue": "Open"
},
"id": 13
}
},
"customer": {
"link": {
"rel": "customer",
"href": "/system/ws/v12/interaction/customer/1000"
},
"customerName": "John Russel Tierney",
"id": 1000
},
"severity": {
"value": "medium",
"displayValue": "Medium"
},
"subject": "Charging is too slow [#1000]",
"originatingChannel": {
"value": "Call_Track",
"displayValue": "Calltrack"
},
"created": {
"user": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"date": "2015-02-10T23:07:47.000Z"
},
"description": "The charger being used for not of the recommended configuration",
"solution": "Change the changer to a recommended configuration",
"userLastWorked": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"customAttributes": {
"customAttribute": [
{
"attribName": "work_status",
"attribValues": {
"attribValue": [
{
"value": "Pending"
}
]
}
}
]
},
"notes": [
{
"rel": "note",
"href": "/system/ws/v12/interaction/case/1000/note"
}
],
"id": 1000
},
{
"link": {
"rel": "self",
"href": "/system/ws/v12/interaction/case/1016"
},
"activities": {
"link": {
"rel": "activity",
"href": "/system/ws/v12/interaction/activity?case=1016"
}
},
"department": {
"name": "Service",
"id": 999
},
"status": {
"value": "open",
"displayValue": "Open"
},
"lastModified": {
"user": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"date": "2015-03-18T22:12:51.000Z"
},
"owner": {
"user": {
"name": "a3",
"id": 1004
}
},
"customer": {
"link": {
"rel": "customer",
"href": "/system/ws/v12/interaction/customer/1000"
},
"customerName": "John Russel Tierney",
"id": 1000
},
"severity": {
"value": "medium",
"displayValue": "Medium"
},
"subject": "No Subject[#1016]",
"originatingChannel": {
"value": "Email",
"displayValue": "Email"
},
"created": {
"user": {
"name": "a3",
"id": 1004
},
"date": "2015-03-18T22:12:51.000Z"
},
"userLastWorked": {
"name": "a3",
"id": 1004
},
"customAttributes": {
"customAttribute": [
{
"attribName": "work_status",
"attribValues": {
"attribValue": [
{
"value": "Pending"
}
]
}
}
]
},
"notes": [
{
"rel": "note",
"href": "/system/ws/v12/interaction/case/1016/note"
}
],
"id": 1016
}
]
}
This example demonstrates the following:
Request
| Method | URL |
|---|---|
| GET | ws/v12/interaction/case?$attribute=custom.work_status&status=closed&phone=1001001000&email=johnt@customer.com&$pagenum=2&$pagesize=2&$sort=custom.work_status |
Request headers
| Name | Value |
|---|---|
| X-egain-session | Valid session ID |
| Accept | application/xml |
| Accept-Language | en-US |
Response
HTTP/1.1 200 OK
Response headers
| Name | Value |
|---|---|
| X-egain-session | current session ID |
| Content-Type | application/xml |
Response body
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<cases xmlns="http://bindings.egain.com/ws/model/v12/gen/interaction/case"
xmlns:ns2="http://bindings.egain.com/ws/model/v12/gen/interaction/activity"
xmlns:ns3="http://bindings.egain.com/ws/model/v12/gen/platform"
xmlns:ns4="http://bindings.egain.com/ws/model/v12/gen/common"
xmlns:ns5="http://bindings.egain.com/ws/model/v12/gen/interaction/folder"
xmlns:ns6="http://bindings.egain.com/ws/model/v12/gen/interaction/customer"
xmlns:ns7="http://bindings.egain.com/ws/model/v12/gen/interaction/contactperson"
xmlns:ns8="http://bindings.egain.com/ws/model/v12/gen/interaction/contactpoint"
xmlns:ns9="http://bindings.egain.com/ws/model/v12/gen/kb"
xmlns:ns10="http://bindings.egain.com/ws/model/v15/gen/kb/edition"
xmlns:ns11="http://bindings.egain.com/ws/model/v15/gen/kb/profile"
xmlns:ns12="http://bindings.egain.com/ws/model/v12/gen/interaction/attachment"
xmlns:ns13="http://bindings.egain.com/ws/model/v12/gen/mail/alias"
xmlns:ns14="http://bindings.egain.com/ws/model/v12/gen/live/entrypoint">
<case id="1006">
<link rel="self" href="/system/ws/v12/interaction/case/1006"/>
<activities>
<ns2:link rel="activity" href="/system/ws/v12/interaction/activity?case=1006"/>
</activities>
<department id="1000">
<ns3:name>Sales</ns3:name>
</department>
<status>
<ns4:value>closed</ns4:value>
<ns4:displayValue>Closed</ns4:displayValue>
</status>
<lastModified date="2016-04-01T02:00:30.000Z">
<ns4:user id="12">
<ns3:name>system</ns3:name>
<ns3:firstName>System</ns3:firstName>
<ns3:lastName>Services</ns3:lastName>
</ns4:user>
</lastModified>
<dueDate>2016-04-29T07:00:00.000Z</dueDate>
<owner>
<user id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</user>
<folder id="14">
<ns5:name>
<ns4:value>cases_closed</ns4:value>
<ns4:displayValue>Closed</ns4:displayValue>
</ns5:name>
</folder>
</owner>
<customer id="1000">
<ns6:link rel="customer" href="/system/ws/v12/interaction/customer/1000"/>
<ns6:customerName>John Russel Tierney</ns6:customerName>
</customer>
<severity>
<ns4:value>medium</ns4:value>
<ns4:displayValue>Medium</ns4:displayValue>
</severity>
<subject>Issue with volume control [#1006]</subject>
<customAttributes>
<ns4:customAttribute>
<ns4:attribName>work_status</ns4:attribName>
<ns4:attribValues>
<ns4:attribValue>
<ns4:value>Done</ns4:value>
</ns4:attribValue>
</ns4:attribValues>
</ns4:customAttribute>
</customAttributes>
</case>
<case id="1003">
<link rel="self" href="/system/ws/v12/interaction/case/1003"/>
<activities>
<ns2:link rel="activity" href="/system/ws/v12/interaction/activity?case=1003"/>
</activities>
<department id="999">
<ns3:name>Service</ns3:name>
</department>
<status>
<ns4:value>closed</ns4:value>
<ns4:displayValue>Closed</ns4:displayValue>
</status>
<lastModified date="2016-04-01T01:58:11.000Z">
<ns4:user id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</ns4:user>
</lastModified>
<dueDate>2016-04-13T07:00:00.000Z</dueDate>
<owner>
<user id="1002">
<ns3:name>Frank</ns3:name>
<ns3:firstName>Frank</ns3:firstName>
<ns3:lastName>Robert</ns3:lastName>
</user>
<folder id="14">
<ns5:name>
<ns4:value>cases_closed</ns4:value>
<ns4:displayValue>Closed</ns4:displayValue>
</ns5:name>
</folder>
</owner>
<customer id="1000">
<ns6:link rel="customer" href="/system/ws/v12/interaction/customer/1000"/>
<ns6:customerName>John Russel Tierney</ns6:customerName>
</customer>
<severity>
<ns4:value>high</ns4:value>
<ns4:displayValue>High</ns4:displayValue>
</severity>
<subject>Faulty screen[#1003]</subject>
<customAttributes>
<ns4:customAttribute>
<ns4:attribName>work_status</ns4:attribName>
<ns4:attribValues>
<ns4:attribValue>
<ns4:value>In Progress</ns4:value>
</ns4:attribValue>
</ns4:attribValues>
</ns4:customAttribute>
</customAttributes>
</case>
<paginationInfo>
<ns4:count>5</ns4:count>
<ns4:pagenum>2</ns4:pagenum>
<ns4:pagesize>2</ns4:pagesize>
<ns4:link rel="prev" href="/system/ws/v12/interaction/case?$attribute=custom.work_status&status=closed&phone=1001001000&email=johnt@customer.com&$pagenum=1&$pagesize=2&$sort=custom.work_status"/>
<ns4:link rel="next" href="/system/ws/v12/interaction/case?$attribute=custom.work_status&status=closed&phone=1001001000&email=johnt@customer.com&$pagenum=3&$pagesize=2&$sort=custom.work_status"/>
</paginationInfo>
</cases>
Request
| Method | URL |
|---|---|
| GET | ws/v12/interaction/case?$attribute=custom.work_status&status=closed&phone=1001001000&email=johnt@customer.com&$pagenum=2&$pagesize=2&$sort=custom.work_status |
Request headers
| Name | Value |
|---|---|
| X-egain-session | Valid session ID |
| Accept | application/json |
| Accept-Language | en-US |
Response
HTTP/1.1 200 OK
Response headers
| Name | Value |
|---|---|
| X-egain-session | current session ID |
| Content-Type | application/json |
Response body
{
"case": [
{
"link": {
"rel": "self",
"href": "/system/ws/v12/interaction/case/1006"
},
"activities": {
"link": {
"rel": "activity",
"href": "/system/ws/v12/interaction/activity?case=1006"
}
},
"department": {
"name": "Sales",
"id": 1000
},
"status": {
"value": "closed",
"displayValue": "Closed"
},
"lastModified": {
"user": {
"name": "system",
"firstName": "System",
"lastName": "Services",
"id": 12
},
"date": "2016-04-01T02:00:30.000Z"
},
"dueDate": "2016-04-29T07:00:00.000Z",
"owner": {
"user": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"folder": {
"name": {
"value": "cases_closed",
"displayValue": "Closed"
},
"id": 14
}
},
"customer": {
"link": {
"rel": "customer",
"href": "/system/ws/v12/interaction/customer/1000"
},
"customerName": "John Russel Tierney",
"id": 1000
},
"severity": {
"value": "medium",
"displayValue": "Medium"
},
"subject": "Issue with volume control [#1006]",
"customAttributes": {
"customAttribute": [
{
"attribName": "work_status",
"attribValues": {
"attribValue": [
{
"value": "Done"
}
]
}
}
]
},
"id": 1006
},
{
"link": {
"rel": "self",
"href": "/system/ws/v12/interaction/case/1003"
},
"activities": {
"link": {
"rel": "activity",
"href": "/system/ws/v12/interaction/activity?case=1003"
}
},
"department": {
"name": "Service",
"id": 999
},
"status": {
"value": "closed",
"displayValue": "Closed"
},
"lastModified": {
"user": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"date": "2016-04-01T01:58:11.000Z"
},
"dueDate": "2016-04-13T07:00:00.000Z",
"owner": {
"user": {
"name": "Frank",
"firstName": "Frank",
"lastName": "Robert",
"id": 1002
},
"folder": {
"name": {
"value": "cases_closed",
"displayValue": "Closed"
},
"id": 14
}
},
"customer": {
"link": {
"rel": "customer",
"href": "/system/ws/v12/interaction/customer/1000"
},
"customerName": "John Russel Tierney",
"id": 1000
},
"severity": {
"value": "high",
"displayValue": "High"
},
"subject": "Faulty screen[#1003]",
"customAttributes": {
"customAttribute": [
{
"attribName": "work_status",
"attribValues": {
"attribValue": [
{
"value": "In Progress"
}
]
}
}
]
},
"id": 1003
}
],
"paginationInfo": {
"count": 5,
"pagenum": 2,
"pagesize": 2,
"link": [
{
"rel": "prev",
"href": "/system/ws/v12/interaction/case?$attribute=custom.work_status&status=closed&phone=1001001000&email=johnt@customer.com&$pagenum=1&$pagesize=2&$sort=custom.work_status"
},
{
"rel": "next",
"href": "/system/ws/v12/interaction/case?$attribute=custom.work_status&status=closed&phone=1001001000&email=johnt@customer.com&$pagenum=3&$pagesize=2&$sort=custom.work_status"
}
]
}
}