WebAPI

<back to all web services

GetCaseTypesByDeptId

Get Case Type By Department ID

The following routes are available for this service:
GET/GetCaseTypesByDeptId/{DepartmentId}
Parameters:
NameParameterData TypeRequiredDescription
DepartmentIdpathintYes

To override the Content-type in your clients 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 /json/reply/GetCaseTypesByDeptId HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: application/json
Content-Length: length

{"DepartmentId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"CaseTypeInfos":[{"CaseTypeId":0,"Abbrev":"String","Description":"String","NoOfDaysForDueDt":0,"Active":false,"DefaultGroupId":0,"Priority":0,"Severity":0,"NeedApprove":false,"EmailAddress":"String"}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}