POST api/directory
Request Information
URI Parameters
None.
Body Parameters
DirectoryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| title | string |
None. |
|
| contact_no | string |
None. |
|
| societyid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"title": "sample string 2",
"contact_no": "sample string 3",
"societyid": 4
}
application/xml, text/xml
Sample:
<DirectoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Society_Api.Models"> <contact_no>sample string 3</contact_no> <id>1</id> <societyid>4</societyid> <title>sample string 2</title> </DirectoryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |