POST Training/updateMaxAttempts
Request Information
URI Parameters
None.
Body Parameters
updateMaxAttemptsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| admin_id | integer |
None. |
|
| trainee_id | integer |
None. |
|
| max_attempts | integer |
None. |
|
| lesson_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"admin_id": 1,
"trainee_id": 2,
"max_attempts": 3,
"lesson_id": 4
}
application/xml, text/xml
Sample:
<updateMaxAttemptsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GwreCrmApi.Models"> <admin_id>1</admin_id> <lesson_id>4</lesson_id> <max_attempts>3</max_attempts> <trainee_id>2</trainee_id> </updateMaxAttemptsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GeneralResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| remarks | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"remarks": "sample string 2"
}
application/xml, text/xml
Sample:
<GeneralResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GwreCrmApi.Models"> <remarks>sample string 2</remarks> <status>sample string 1</status> </GeneralResponse>