POST api/CreateConstructRoadDefect
Request Information
URI Parameters
None.
Body Parameters
CreateConstructRoadDefectRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserEmail | string |
None. |
|
| ProjectCode | string |
None. |
|
| Unit | string |
None. |
|
| QCTypeID | string |
None. |
|
| RequestID | integer |
None. |
|
| CheckNumber | integer |
None. |
|
| PinNumber | integer |
None. |
|
| DefectTypeID | integer |
None. |
|
| IsNCR | boolean |
None. |
|
| WorkTypeID | integer |
None. |
|
| JobTypeID | integer |
None. |
|
| SubJobTypeID | integer |
None. |
|
| DetailID | integer |
None. |
|
| PinStatus | string |
None. |
|
| Score | decimal number |
None. |
|
| IsNCRScore | boolean |
None. |
|
| Remark | string |
None. |
|
| ImageBefore | ImageObject |
None. |
|
| ImageAfter | ImageObject |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserEmail": "sample string 1",
"ProjectCode": "sample string 2",
"Unit": "sample string 3",
"QCTypeID": "sample string 4",
"RequestID": 5,
"CheckNumber": 6,
"PinNumber": 7,
"DefectTypeID": 8,
"IsNCR": true,
"WorkTypeID": 10,
"JobTypeID": 11,
"SubJobTypeID": 12,
"DetailID": 13,
"PinStatus": "sample string 14",
"Score": 15.0,
"IsNCRScore": true,
"Remark": "sample string 17",
"ImageBefore": {
"FileID": 1,
"ActualFileName": "sample string 2",
"FileName": "sample string 3",
"FileURL": "sample string 4",
"FileSize": 1
},
"ImageAfter": {
"FileID": 1,
"ActualFileName": "sample string 2",
"FileName": "sample string 3",
"FileURL": "sample string 4",
"FileSize": 1
}
}
application/xml, text/xml
Sample:
<CreateConstructRoadDefectRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sirius_Api.Models.Sirius">
<CheckNumber>6</CheckNumber>
<DefectTypeID>8</DefectTypeID>
<DetailID>13</DetailID>
<ImageAfter>
<ActualFileName>sample string 2</ActualFileName>
<FileID>1</FileID>
<FileName>sample string 3</FileName>
<FileSize>1</FileSize>
<FileURL>sample string 4</FileURL>
</ImageAfter>
<ImageBefore>
<ActualFileName>sample string 2</ActualFileName>
<FileID>1</FileID>
<FileName>sample string 3</FileName>
<FileSize>1</FileSize>
<FileURL>sample string 4</FileURL>
</ImageBefore>
<IsNCR>true</IsNCR>
<IsNCRScore>true</IsNCRScore>
<JobTypeID>11</JobTypeID>
<PinNumber>7</PinNumber>
<PinStatus>sample string 14</PinStatus>
<ProjectCode>sample string 2</ProjectCode>
<QCTypeID>sample string 4</QCTypeID>
<Remark>sample string 17</Remark>
<RequestID>5</RequestID>
<Score>15</Score>
<SubJobTypeID>12</SubJobTypeID>
<Unit>sample string 3</Unit>
<UserEmail>sample string 1</UserEmail>
<WorkTypeID>10</WorkTypeID>
</CreateConstructRoadDefectRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.