POST api/QuestionnaireForm/SaveProgressPercent
Request Information
URI Parameters
None.
Body Parameters
SaveProgressViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ContentId | integer |
None. |
|
| Percentage | decimal number |
None. |
|
| TenantId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ContentId": 1,
"Percentage": 2.1,
"TenantId": 3
}
application/xml, text/xml
Sample:
<SaveProgressViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Questionnaire.WebApi.Models"> <ContentId>1</ContentId> <Percentage>2.1</Percentage> <TenantId>3</TenantId> </SaveProgressViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseEnvelop| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Object |
None. |
|
| IsError | boolean |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {},
"IsError": true,
"ErrorMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiResponseEnvelop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Questionnaire.Core.Models"> <ErrorMessage>sample string 3</ErrorMessage> <IsError>true</IsError> <Result /> </ApiResponseEnvelop>