POST api/Form/{formId}/Mapping
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| formId | integer |
Required |
Body Parameters
InspectionMappingDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| refUnitTypeId | integer |
None. |
|
| inspectionMap | string |
None. |
|
| questions | Collection of QuestionCoordinateDTO |
None. |
|
| userRequestId | integer |
None. |
|
| userRoleId | integer |
None. |
|
| userOfficeId | integer |
None. |
|
| timestamp | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"refUnitTypeId": 1,
"inspectionMap": "sample string 2",
"questions": [
null,
{
"no": 1,
"formDetailId": 2,
"question": "sample string 3",
"coorX": "sample string 4",
"coorY": "sample string 5",
"coor": {
"X": "sample string 4",
"Y": "sample string 5"
},
"userRequestId": 0,
"userRoleId": 0,
"userOfficeId": 0,
"timestamp": null
}
],
"userRequestId": 3,
"userRoleId": 4,
"userOfficeId": 5,
"timestamp": "QEA="
}
text/html
Sample:
{"refUnitTypeId":1,"inspectionMap":"sample string 2","questions":[null,{"no":1,"formDetailId":2,"question":"sample string 3","coorX":"sample string 4","coorY":"sample string 5","coor":{"X":"sample string 4","Y":"sample string 5"},"userRequestId":0,"userRoleId":0,"userOfficeId":0,"timestamp":null}],"userRequestId":3,"userRoleId":4,"userOfficeId":5,"timestamp":"QEA="}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.