POST api/cmnsy/InspectionPhoto
Request Information
URI Parameters
None.
Body Parameters
InspectionPhotoRequestEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| ApiUserName | string |
None. |
|
| Token | string |
None. |
|
| Id | integer |
None. |
|
| ProjectId | integer |
None. |
|
| PhotoTypeId | integer |
None. |
|
| InspectionDate | string |
None. |
|
| ProgressPhoto1 | string |
None. |
|
| ProgressPhoto2 | string |
None. |
|
| RemarkPhoto1 | string |
None. |
|
| RemarkPhoto2 | string |
None. |
|
| longitude | string |
None. |
|
| Latitude | string |
None. |
|
| Remark | string |
None. |
|
| FinYearId | integer |
None. |
|
| ProcId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ApiUserName": "sample string 1",
"Token": "sample string 2",
"Id": 3,
"ProjectId": 4,
"PhotoTypeId": 5,
"InspectionDate": "sample string 6",
"ProgressPhoto1": "sample string 7",
"ProgressPhoto2": "sample string 8",
"RemarkPhoto1": "sample string 9",
"RemarkPhoto2": "sample string 10",
"longitude": "sample string 11",
"Latitude": "sample string 12",
"Remark": "sample string 13",
"FinYearId": 14,
"ProcId": 15
}
application/xml, text/xml
Sample:
<InspectionPhotoRequestEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models"> <ApiUserName>sample string 1</ApiUserName> <FinYearId>14</FinYearId> <Id>3</Id> <InspectionDate>sample string 6</InspectionDate> <Latitude>sample string 12</Latitude> <PhotoTypeId>5</PhotoTypeId> <ProcId>15</ProcId> <ProgressPhoto1>sample string 7</ProgressPhoto1> <ProgressPhoto2>sample string 8</ProgressPhoto2> <ProjectId>4</ProjectId> <Remark>sample string 13</Remark> <RemarkPhoto1>sample string 9</RemarkPhoto1> <RemarkPhoto2>sample string 10</RemarkPhoto2> <Token>sample string 2</Token> <longitude>sample string 11</longitude> </InspectionPhotoRequestEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InspectionPhotoResponseEntity| Name | Description | Type | Additional 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:
<InspectionPhotoResponseEntity 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> </InspectionPhotoResponseEntity>