POST api/Contractor/admin/Forms/{formId}/Response
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| formId | integer |
Required |
Body Parameters
ContractorFormResponseDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
None. |
|
| LocationId | integer |
None. |
|
| FieldValues | Collection of ContractorFormResponseItemDTO |
None. |
|
| Signature | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"LocationId": 2,
"FieldValues": [
{
"FieldId": 1,
"Value": "sample string 2"
},
{
"FieldId": 1,
"Value": "sample string 2"
}
],
"Signature": "sample string 3"
}
application/xml, text/xml
Sample:
<ContractorFormResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.Contractor">
<FieldValues>
<ContractorFormResponseItemDTO>
<FieldId>1</FieldId>
<Value>sample string 2</Value>
</ContractorFormResponseItemDTO>
<ContractorFormResponseItemDTO>
<FieldId>1</FieldId>
<Value>sample string 2</Value>
</ContractorFormResponseItemDTO>
</FieldValues>
<LocationId>2</LocationId>
<Signature>sample string 3</Signature>
<UserId>1</UserId>
</ContractorFormResponseDTO>
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.