POST api/ProjectBoundary

Request Information

URI Parameters

None.

Body Parameters

tbl_ProjectBoundary
NameDescriptionTypeAdditional information
ProjectBoundary_Name

string

None.

App_Version

string

None.

ProjectBoundary_AddedBy

integer

None.

ProjectBoundary_Id

integer

None.

ProjectBoundary_Work_Id

integer

None.

ProjectBoundary_CoveredDistance

decimal number

None.

obj_tbl_ProjectBoundaryLog_Li

Collection of tbl_ProjectBoundaryLog

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectBoundary_Name": "sample string 1",
  "App_Version": "sample string 2",
  "ProjectBoundary_AddedBy": 3,
  "ProjectBoundary_Id": 4,
  "ProjectBoundary_Work_Id": 5,
  "ProjectBoundary_CoveredDistance": 6.0,
  "obj_tbl_ProjectBoundaryLog_Li": [
    {
      "ProjectBoundaryLog_AddedBy": 1,
      "ProjectBoundaryLog_AddedOn": "sample string 2",
      "ProjectBoundaryLog_Comments": "sample string 3",
      "ProjectBoundaryLog_Latitude": "sample string 4",
      "ProjectBoundaryLog_Longitude": "sample string 5",
      "ProjectBoundaryLog_Accuracy": "sample string 6",
      "ProjectBoundaryLog_Laying_Id": 7,
      "ProjectBoundaryLog_Order": 8,
      "ProjectBoundaryLog_Id": 9,
      "ProjectBoundaryLog_TimeStamp": "sample string 10"
    },
    {
      "ProjectBoundaryLog_AddedBy": 1,
      "ProjectBoundaryLog_AddedOn": "sample string 2",
      "ProjectBoundaryLog_Comments": "sample string 3",
      "ProjectBoundaryLog_Latitude": "sample string 4",
      "ProjectBoundaryLog_Longitude": "sample string 5",
      "ProjectBoundaryLog_Accuracy": "sample string 6",
      "ProjectBoundaryLog_Laying_Id": 7,
      "ProjectBoundaryLog_Order": 8,
      "ProjectBoundaryLog_Id": 9,
      "ProjectBoundaryLog_TimeStamp": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<tbl_ProjectBoundary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMIS_API.Models">
  <App_Version>sample string 2</App_Version>
  <ProjectBoundary_AddedBy>3</ProjectBoundary_AddedBy>
  <ProjectBoundary_CoveredDistance>6</ProjectBoundary_CoveredDistance>
  <ProjectBoundary_Id>4</ProjectBoundary_Id>
  <ProjectBoundary_Name>sample string 1</ProjectBoundary_Name>
  <ProjectBoundary_Work_Id>5</ProjectBoundary_Work_Id>
  <obj_tbl_ProjectBoundaryLog_Li>
    <tbl_ProjectBoundaryLog>
      <ProjectBoundaryLog_Accuracy>sample string 6</ProjectBoundaryLog_Accuracy>
      <ProjectBoundaryLog_AddedBy>1</ProjectBoundaryLog_AddedBy>
      <ProjectBoundaryLog_AddedOn>sample string 2</ProjectBoundaryLog_AddedOn>
      <ProjectBoundaryLog_Comments>sample string 3</ProjectBoundaryLog_Comments>
      <ProjectBoundaryLog_Id>9</ProjectBoundaryLog_Id>
      <ProjectBoundaryLog_Latitude>sample string 4</ProjectBoundaryLog_Latitude>
      <ProjectBoundaryLog_Laying_Id>7</ProjectBoundaryLog_Laying_Id>
      <ProjectBoundaryLog_Longitude>sample string 5</ProjectBoundaryLog_Longitude>
      <ProjectBoundaryLog_Order>8</ProjectBoundaryLog_Order>
      <ProjectBoundaryLog_TimeStamp>sample string 10</ProjectBoundaryLog_TimeStamp>
    </tbl_ProjectBoundaryLog>
    <tbl_ProjectBoundaryLog>
      <ProjectBoundaryLog_Accuracy>sample string 6</ProjectBoundaryLog_Accuracy>
      <ProjectBoundaryLog_AddedBy>1</ProjectBoundaryLog_AddedBy>
      <ProjectBoundaryLog_AddedOn>sample string 2</ProjectBoundaryLog_AddedOn>
      <ProjectBoundaryLog_Comments>sample string 3</ProjectBoundaryLog_Comments>
      <ProjectBoundaryLog_Id>9</ProjectBoundaryLog_Id>
      <ProjectBoundaryLog_Latitude>sample string 4</ProjectBoundaryLog_Latitude>
      <ProjectBoundaryLog_Laying_Id>7</ProjectBoundaryLog_Laying_Id>
      <ProjectBoundaryLog_Longitude>sample string 5</ProjectBoundaryLog_Longitude>
      <ProjectBoundaryLog_Order>8</ProjectBoundaryLog_Order>
      <ProjectBoundaryLog_TimeStamp>sample string 10</ProjectBoundaryLog_TimeStamp>
    </tbl_ProjectBoundaryLog>
  </obj_tbl_ProjectBoundaryLog_Li>
</tbl_ProjectBoundary>

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.