Back to Role

POST Method Details for Create.

Creates the specified model.

Definition

https://app[x].timelog.com/[account name]/api/v{version}/role

Parameters

  • model object The model.
    • AreaPrivilegeGUID string Gets or sets the area privilege unique identifier.
    • EventTypeGroupGUID string Gets or sets the event type group unique identifier.
    • RoleID integer Gets or sets the role identifier.
    {
      "AreaPrivilegeGUID": "00000000-0000-0000-0000-000000000000",
      "EventTypeGroupGUID": "00000000-0000-0000-0000-000000000000",
      "RoleID": 0
    }
  • version string The requested API version

Returns

  • [200] OK
  • [401] Invalid authentication token
  • [500] Request to Create has failed
    • Code integer Gets the code.
    • Details array Gets the details.
    • Message string Gets the message.
    • Parameters string Gets the parameters.
    • Url string Gets the URL.
    {
      "Code": 0,
      "Details": "",
      "Message": "",
      "Parameters": "",
      "Url": ""
    }