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": "bcf37689-3a52-4983-9ee6-dc246afed1a9",
"ComplaintRef": "sample string 1",
"ContactId": "e6321fec-c8b1-4dc8-8a55-d64a1aed6e8e",
"Description": "sample string 2",
"SubjectId": "95b1f2f9-7140-4e45-a42d-b595dee1d425",
"CaseTitle": "sample string 3",
"IncidentDateTime": "2026-09-29T23:51:44.8217353+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": "cd4e7294-a882-47bb-b34f-172a74e0c818"
}
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>e6321fec-c8b1-4dc8-8a55-d64a1aed6e8e</ContactId> <Description>sample string 2</Description> <DirectionOfTravel>sample string 6</DirectionOfTravel> <Id>bcf37689-3a52-4983-9ee6-dc246afed1a9</Id> <IncidentDateTime>2026-09-29T23:51:44.8217353+00:00</IncidentDateTime> <LeafletNumber>sample string 9</LeafletNumber> <Location>sample string 5</Location> <SchoolId>cd4e7294-a882-47bb-b34f-172a74e0c818</SchoolId> <ServiceNumber>sample string 4</ServiceNumber> <StopLocation>sample string 8</StopLocation> <StopNumber>sample string 7</StopNumber> <SubjectId>95b1f2f9-7140-4e45-a42d-b595dee1d425</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.