POST example/api/publication/{publicationId}/users
https://app.bwz.se/bedrock/example/api/publication/{publicationId}/users
Explicitly sets permissions for users to use the publication
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
publicationId |
The id of the publication |
integer |
Required |
Body Parameters
Gets or sets the user ids. The user ids.
UsersForPublicationArgsName | Description | Type | Additional information |
---|---|---|---|
UserIds |
Gets or sets the user ids. |
Collection of integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserIds": [ 1, 2 ] }
application/xml, text/xml
Sample:
<UsersForPublicationArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.User"> <UserIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </UserIds> </UsersForPublicationArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Nothing
None.