POST api/Complaints
Request Information
URI Parameters
None.
Body Parameters
ComplaintPostModelName | Description | Type | Additional information |
---|---|---|---|
ContactPhone | string |
None. |
|
Pin | string |
None. |
|
AccessNumber | string |
None. |
|
DestinationNumber | string |
None. |
|
Description | string |
None. |
|
Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContactPhone": "sample string 1", "Pin": "sample string 2", "AccessNumber": "sample string 3", "DestinationNumber": "sample string 4", "Description": "sample string 5", "Notes": "sample string 6" }
application/xml, text/xml
Sample:
<ComplaintPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Supports"> <AccessNumber>sample string 3</AccessNumber> <ContactPhone>sample string 1</ContactPhone> <Description>sample string 5</Description> <DestinationNumber>sample string 4</DestinationNumber> <Notes>sample string 6</Notes> <Pin>sample string 2</Pin> </ComplaintPostModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>