POST Cases/AddCase
Request Information
URI Parameters
None.
Body Parameters
Case| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| ComplaintRef | string |
None. |
|
| ContactId | globally unique identifier |
None. |
|
| Description | string |
None. |
|
| SubjectId | globally unique identifier |
None. |
|
| CaseTitle | string |
None. |
|
| IncidentDateTime | date |
None. |
|
| ServiceNumber | string |
None. |
|
| Location | string |
None. |
|
| DirectionOfTravel | string |
None. |
|
| BusStation | integer |
None. |
|
| StopNumber | string |
None. |
|
| StopLocation | string |
None. |
|
| LeafletNumber | string |
None. |
|
| SchoolId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "75d3baf2-b0cc-4a2b-bb8f-9b4179c0a038",
"ComplaintRef": "sample string 1",
"ContactId": "d5bb126b-5f19-4e72-8fb9-7e9cd634df4c",
"Description": "sample string 2",
"SubjectId": "43d3b08e-55cf-4494-b075-79f1b99d7175",
"CaseTitle": "sample string 3",
"IncidentDateTime": "2026-04-17T11:56:00.888931+00:00",
"ServiceNumber": "sample string 4",
"Location": "sample string 5",
"DirectionOfTravel": "sample string 6",
"BusStation": 1,
"StopNumber": "sample string 7",
"StopLocation": "sample string 8",
"LeafletNumber": "sample string 9",
"SchoolId": "f23f7442-dab4-4b4f-9267-796c9b77cc57"
}
application/xml, text/xml
Sample:
<Case xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComplaintPortalReWork.Models"> <BusStation>1</BusStation> <CaseTitle>sample string 3</CaseTitle> <ComplaintRef>sample string 1</ComplaintRef> <ContactId>d5bb126b-5f19-4e72-8fb9-7e9cd634df4c</ContactId> <Description>sample string 2</Description> <DirectionOfTravel>sample string 6</DirectionOfTravel> <Id>75d3baf2-b0cc-4a2b-bb8f-9b4179c0a038</Id> <IncidentDateTime>2026-04-17T11:56:00.888931+00:00</IncidentDateTime> <LeafletNumber>sample string 9</LeafletNumber> <Location>sample string 5</Location> <SchoolId>f23f7442-dab4-4b4f-9267-796c9b77cc57</SchoolId> <ServiceNumber>sample string 4</ServiceNumber> <StopLocation>sample string 8</StopLocation> <StopNumber>sample string 7</StopNumber> <SubjectId>43d3b08e-55cf-4494-b075-79f1b99d7175</SubjectId> </Case>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.