POST api/SectorFencing
Request Information
URI Parameters
None.
Body Parameters
tbl_SectorFencing| Name | Description | Type | Additional information |
|---|---|---|---|
| SectorFencing_SectorId | integer |
None. |
|
| App_Version | string |
None. |
|
| Ward_Name | string |
None. |
|
| SectorFencing_AddedBy | integer |
None. |
|
| SectorFencing_Id | integer |
None. |
|
| obj_tbl_SectorFencingLog_Li | Collection of tbl_SectorFencingLog |
None. |
Request Formats
application/json, text/json
Sample:
{
"SectorFencing_SectorId": 1,
"App_Version": "sample string 2",
"Ward_Name": "sample string 3",
"SectorFencing_AddedBy": 4,
"SectorFencing_Id": 5,
"obj_tbl_SectorFencingLog_Li": [
{
"SectorFencingLog_AddedBy": 1,
"SectorFencingLog_AddedOn": "sample string 2",
"SectorFencingLog_Comments": "sample string 3",
"SectorFencingLog_Latitude": "sample string 4",
"SectorFencingLog_Longitude": "sample string 5",
"SectorFencingLog_Accuracy": "sample string 6",
"SectorFencingLog_SectorFencing_Id": 7,
"SectorFencingLog_Order": 8,
"SectorFencingLog_Id": 9,
"SectorFencingLog_TimeStamp": "sample string 10"
},
{
"SectorFencingLog_AddedBy": 1,
"SectorFencingLog_AddedOn": "sample string 2",
"SectorFencingLog_Comments": "sample string 3",
"SectorFencingLog_Latitude": "sample string 4",
"SectorFencingLog_Longitude": "sample string 5",
"SectorFencingLog_Accuracy": "sample string 6",
"SectorFencingLog_SectorFencing_Id": 7,
"SectorFencingLog_Order": 8,
"SectorFencingLog_Id": 9,
"SectorFencingLog_TimeStamp": "sample string 10"
}
]
}
application/xml, text/xml
Sample:
<tbl_SectorFencing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalULB_API.Models">
<App_Version>sample string 2</App_Version>
<SectorFencing_AddedBy>4</SectorFencing_AddedBy>
<SectorFencing_Id>5</SectorFencing_Id>
<SectorFencing_SectorId>1</SectorFencing_SectorId>
<Ward_Name>sample string 3</Ward_Name>
<obj_tbl_SectorFencingLog_Li>
<tbl_SectorFencingLog>
<SectorFencingLog_Accuracy>sample string 6</SectorFencingLog_Accuracy>
<SectorFencingLog_AddedBy>1</SectorFencingLog_AddedBy>
<SectorFencingLog_AddedOn>sample string 2</SectorFencingLog_AddedOn>
<SectorFencingLog_Comments>sample string 3</SectorFencingLog_Comments>
<SectorFencingLog_Id>9</SectorFencingLog_Id>
<SectorFencingLog_Latitude>sample string 4</SectorFencingLog_Latitude>
<SectorFencingLog_Longitude>sample string 5</SectorFencingLog_Longitude>
<SectorFencingLog_Order>8</SectorFencingLog_Order>
<SectorFencingLog_SectorFencing_Id>7</SectorFencingLog_SectorFencing_Id>
<SectorFencingLog_TimeStamp>sample string 10</SectorFencingLog_TimeStamp>
</tbl_SectorFencingLog>
<tbl_SectorFencingLog>
<SectorFencingLog_Accuracy>sample string 6</SectorFencingLog_Accuracy>
<SectorFencingLog_AddedBy>1</SectorFencingLog_AddedBy>
<SectorFencingLog_AddedOn>sample string 2</SectorFencingLog_AddedOn>
<SectorFencingLog_Comments>sample string 3</SectorFencingLog_Comments>
<SectorFencingLog_Id>9</SectorFencingLog_Id>
<SectorFencingLog_Latitude>sample string 4</SectorFencingLog_Latitude>
<SectorFencingLog_Longitude>sample string 5</SectorFencingLog_Longitude>
<SectorFencingLog_Order>8</SectorFencingLog_Order>
<SectorFencingLog_SectorFencing_Id>7</SectorFencingLog_SectorFencing_Id>
<SectorFencingLog_TimeStamp>sample string 10</SectorFencingLog_TimeStamp>
</tbl_SectorFencingLog>
</obj_tbl_SectorFencingLog_Li>
</tbl_SectorFencing>
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. |