POST api/cmnsy/Inspection

Request Information

URI Parameters

None.

Body Parameters

InspectionRequestEntity
NameDescriptionTypeAdditional information
ApiUserName

string

None.

Token

string

None.

Id

integer

None.

ProjectId

integer

None.

OfficeId

integer

None.

IDate

string

None.

ICopy

string

None.

IncpectedBy

string

None.

Remark

string

None.

longitude

string

None.

Latitude

string

None.

IPhoto

string

None.

ProcId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ApiUserName": "sample string 1",
  "Token": "sample string 2",
  "Id": 3,
  "ProjectId": 4,
  "OfficeId": 5,
  "IDate": "sample string 6",
  "ICopy": "sample string 7",
  "IncpectedBy": "sample string 8",
  "Remark": "sample string 9",
  "longitude": "sample string 10",
  "Latitude": "sample string 11",
  "IPhoto": "sample string 12",
  "ProcId": 13
}

application/xml, text/xml

Sample:
<InspectionRequestEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models">
  <ApiUserName>sample string 1</ApiUserName>
  <ICopy>sample string 7</ICopy>
  <IDate>sample string 6</IDate>
  <IPhoto>sample string 12</IPhoto>
  <Id>3</Id>
  <IncpectedBy>sample string 8</IncpectedBy>
  <Latitude>sample string 11</Latitude>
  <OfficeId>5</OfficeId>
  <ProcId>13</ProcId>
  <ProjectId>4</ProjectId>
  <Remark>sample string 9</Remark>
  <Token>sample string 2</Token>
  <longitude>sample string 10</longitude>
</InspectionRequestEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InspectionResponseEntity
NameDescriptionTypeAdditional information
respCode

string

None.

respMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "respCode": "sample string 1",
  "respMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<InspectionResponseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models">
  <respCode>sample string 1</respCode>
  <respMessage>sample string 2</respMessage>
</InspectionResponseEntity>