POST api/WorkInspection

Request Information

URI Parameters

None.

Body Parameters

WorkInspection
NameDescriptionTypeAdditional information
obj_tbl_WorkInspection

Tbl_Work_Inspection

None.

obj_tbl_WorkInspectionLocation_Li

Collection of Tbl_WorkInspectionLocation

None.

Request Formats

application/json, text/json

Sample:
{
  "obj_tbl_WorkInspection": {
    "Tbl_Work_Inspection_Id": 1,
    "T_Work_Id": 2,
    "Answer_No1": "sample string 3",
    "Answer_No2": "sample string 4",
    "Answer_No3": "sample string 5",
    "Answer_No4": "sample string 6",
    "Answer_No5": "sample string 7",
    "Answer_No6": "sample string 8",
    "Before_ImagePath": "sample string 9",
    "After_ImagePath": "sample string 10",
    "Other_ImagePath": "sample string 11",
    "Before_ImagePath_Base_64": "sample string 12",
    "After_ImagePath_Base_64": "sample string 13",
    "Other_ImagePath_Base_64": "sample string 14",
    "Inspecting_OfficerName": "sample string 15",
    "Inspecting_OfficerDesig": "sample string 16",
    "Amount": 17.0,
    "Work_Status": "sample string 18",
    "Remarks": "sample string 19",
    "Is_Active": true,
    "Created_Date": "sample string 21",
    "Is_CC": 22,
    "CC_Url": "sample string 23"
  },
  "obj_tbl_WorkInspectionLocation_Li": [
    {
      "Work_Inspection_Location_Id": 1,
      "WorkInspectionLocation_Lat": 2.0,
      "WorkInspectionLocation_Long": 3.0,
      "WorkInspectionLocation_WorkInspection_Id": 4,
      "WorkInspectionLocation_Status": 5
    },
    {
      "Work_Inspection_Location_Id": 1,
      "WorkInspectionLocation_Lat": 2.0,
      "WorkInspectionLocation_Long": 3.0,
      "WorkInspectionLocation_WorkInspection_Id": 4,
      "WorkInspectionLocation_Status": 5
    }
  ]
}

application/xml, text/xml

Sample:
<WorkInspection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalULB_API.Models">
  <obj_tbl_WorkInspection>
    <After_ImagePath>sample string 10</After_ImagePath>
    <After_ImagePath_Base_64>sample string 13</After_ImagePath_Base_64>
    <Amount>17</Amount>
    <Answer_No1>sample string 3</Answer_No1>
    <Answer_No2>sample string 4</Answer_No2>
    <Answer_No3>sample string 5</Answer_No3>
    <Answer_No4>sample string 6</Answer_No4>
    <Answer_No5>sample string 7</Answer_No5>
    <Answer_No6>sample string 8</Answer_No6>
    <Before_ImagePath>sample string 9</Before_ImagePath>
    <Before_ImagePath_Base_64>sample string 12</Before_ImagePath_Base_64>
    <CC_Url>sample string 23</CC_Url>
    <Created_Date>sample string 21</Created_Date>
    <Inspecting_OfficerDesig>sample string 16</Inspecting_OfficerDesig>
    <Inspecting_OfficerName>sample string 15</Inspecting_OfficerName>
    <Is_Active>true</Is_Active>
    <Is_CC>22</Is_CC>
    <Other_ImagePath>sample string 11</Other_ImagePath>
    <Other_ImagePath_Base_64>sample string 14</Other_ImagePath_Base_64>
    <Remarks>sample string 19</Remarks>
    <T_Work_Id>2</T_Work_Id>
    <Tbl_Work_Inspection_Id>1</Tbl_Work_Inspection_Id>
    <Work_Status>sample string 18</Work_Status>
  </obj_tbl_WorkInspection>
  <obj_tbl_WorkInspectionLocation_Li>
    <Tbl_WorkInspectionLocation>
      <WorkInspectionLocation_Lat>2</WorkInspectionLocation_Lat>
      <WorkInspectionLocation_Long>3</WorkInspectionLocation_Long>
      <WorkInspectionLocation_Status>5</WorkInspectionLocation_Status>
      <WorkInspectionLocation_WorkInspection_Id>4</WorkInspectionLocation_WorkInspection_Id>
      <Work_Inspection_Location_Id>1</Work_Inspection_Location_Id>
    </Tbl_WorkInspectionLocation>
    <Tbl_WorkInspectionLocation>
      <WorkInspectionLocation_Lat>2</WorkInspectionLocation_Lat>
      <WorkInspectionLocation_Long>3</WorkInspectionLocation_Long>
      <WorkInspectionLocation_Status>5</WorkInspectionLocation_Status>
      <WorkInspectionLocation_WorkInspection_Id>4</WorkInspectionLocation_WorkInspection_Id>
      <Work_Inspection_Location_Id>1</Work_Inspection_Location_Id>
    </Tbl_WorkInspectionLocation>
  </obj_tbl_WorkInspectionLocation_Li>
</WorkInspection>

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.