POST api/Users/{id}/company
Sets the default company for the given user.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | Id of the user |
Define this parameter in the request URI. |
companyId | Id of the company |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/x-www-form-urlencoded
Sample:
=1