POST api/ProgramRightsCommand/CanUserEditInProgram?programNumber={programNumber}
Execute the ProgramRightsCommand
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
programNumber | The programNumber. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "editAllowed": true, "programNumber": 2, "startAllowed": true }
application/xml, text/xml
Sample:
<ProgramRightsCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Base.Commands"> <EditAllowed>true</EditAllowed> <ProgramNumber>2</ProgramNumber> <StartAllowed>true</StartAllowed> </ProgramRightsCommand>