v3

latestOpenAPI 3.0.42026-07-312008682.1 MB
Restrictions

Set restrictions

Adds new restrictions with the specified conditions. For improved efficiency, multiple similar restrictions will be merged into a single restriction. A quota of 150,000 restrictions per service applies, although it is unlikely to be exceeded because of the merging algorithm. For more information about the merging algorithm, see Restrictions concepts.

Care is needed to specify StartUtc and EndUtc in the correct format - see Datetimes.

Only restrictions created through the API are affected by this operation, not restrictions created by the user within Mews Operations. Similarly, if a user creates a restriction in Mews Operations, this will not affect restrictions created through the API.

post/api/connector/v1/restrictions/set

Request body

ClientTokenstring required

Token identifying the client application.

AccessTokenstring required

Access token of the client application.

Clientstring required

Name and version of the client application.

ServiceIdstring required

Unique identifier of the Service restrictions will be set in.

Response

OK

Unit required