POST api/SectorFencing

Request Information

URI Parameters

None.

Body Parameters

tbl_SectorFencing
NameDescriptionTypeAdditional information
SectorFencing_SectorId

integer

None.

App_Version

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",
  "SectorFencing_AddedBy": 3,
  "SectorFencing_Id": 4,
  "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"
    }
  ]
}

text/html

Sample:
{"SectorFencing_SectorId":1,"App_Version":"sample string 2","SectorFencing_AddedBy":3,"SectorFencing_Id":4,"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/Kumbh_API.Models">
  <App_Version>sample string 2</App_Version>
  <SectorFencing_AddedBy>3</SectorFencing_AddedBy>
  <SectorFencing_Id>4</SectorFencing_Id>
  <SectorFencing_SectorId>1</SectorFencing_SectorId>
  <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
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.