Schedule sharing

Prev Next

Collection

PUT external/schedule/{externalId}/sharing

Header

Name Data Type Description
Content-type: application/json for all requests
Authorization: EAPI {token} for all requests

Body Parameters

Parameters indicated with a * are mandatory

Name
Data Type
Description
*Filter Object External Id. Should be unique. Alpha-Numeric. Autogenerated by default.
*Filter.Users Array Of String Filter users by User Names. Only exists users will be added.
Access Boolean Users should have access to the schedule.
True - Grant access
False - Revoke access

Sample Request URL

https://api.cirrusplatform.com/api/v1/integrations/external/schedule/scheExt1/sharing 

Sample Request

{ Filter:
 { "Users": ["alexey", "authorone"]},
  "Access": true
 }



Response codes

Code Description
200 Successful operation
403 Not allowed to use external API
400 Possible error codes:
100: Request body can not be null or empty.
216: Filter.Users can not be null or empty
300: SScheduleExternalId can not be null or empty
301: Schedule has not been found
500 Internal server error