AVAILABLE WITH BUSINESS SUBSCRIPTION
Метод: POST /training/day/{dayId}
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or custom roles that permit a training to be viewed.
Parameters
Parameter | Type | Description |
---|
token (required) | string | Access token. You can obtain a token by making a request. |
dayId (required) | string | The training day ID you want to get info on. |
url (required) | string | Link to online meeting |
Return Value
After the request has been successfully processed, the system returns an object with the following properties:
Parameter | Type | Description |
---|
success | bool | True if the group was successfully edited. |
Possible Errors
Error | Description |
---|
Permission denied | The user has no permissions to delete enrollments. |
Wrong parameters | The request can't be processed as it doesn't include all the necessary parameters or some of the parameters are wrong. |
Day not found | The day specified in the request is missing. |
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://ispringlearn.com/go/services/api/soap">
<soapenv:Header/>
<soapenv:Body>
<soap:UpdateDayRequest>
<soap:credentials>
<soap:token>p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE</soap:token>
</soap:credentials>
<soap:dayId>4728d47a-c96a-11ed-97ec-b6c48b3dc692</soap:dayId>
<soap:url>https://google.meet.com</soap:url>
</soap:UpdateDayRequest>
</soapenv:Body>
</soapenv:Envelope>
XML
Sample Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ispringlearn.com/go/services/api/soap">
<SOAP-ENV:Body>
<ns1:SuccessResult>
<ns1:success>true</ns1:success>
</ns1:SuccessResult>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML