POST api/Customer/UpdateUserSettings
Request Information
URI Parameters
None.
Body Parameters
Collection of UserSettingsName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Firstname | string |
None. |
|
Lastname | string |
None. |
|
IsActive | boolean |
None. |
|
SubscriptionPermissions | Collection of SubscriptionPermissionInfo |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Username": "sample string 1", "Firstname": "sample string 2", "Lastname": "sample string 3", "IsActive": true, "SubscriptionPermissions": [ { "SubscriptionName": "sample string 1", "SubscriptionId": "sample string 2", "Permissions": [ "AccessCareSheets", "AccessCareSheets" ] }, { "SubscriptionName": "sample string 1", "SubscriptionId": "sample string 2", "Permissions": [ "AccessCareSheets", "AccessCareSheets" ] } ] }, { "Username": "sample string 1", "Firstname": "sample string 2", "Lastname": "sample string 3", "IsActive": true, "SubscriptionPermissions": [ { "SubscriptionName": "sample string 1", "SubscriptionId": "sample string 2", "Permissions": [ "AccessCareSheets", "AccessCareSheets" ] }, { "SubscriptionName": "sample string 1", "SubscriptionId": "sample string 2", "Permissions": [ "AccessCareSheets", "AccessCareSheets" ] } ] } ]
application/xml, text/xml
Sample:
<ArrayOfUserSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities"> <UserSettings> <Firstname>sample string 2</Firstname> <IsActive>true</IsActive> <Lastname>sample string 3</Lastname> <SubscriptionPermissions> <SubscriptionPermissionInfo> <Permissions> <PermissionType>AccessCareSheets</PermissionType> <PermissionType>AccessCareSheets</PermissionType> </Permissions> <SubscriptionId>sample string 2</SubscriptionId> <SubscriptionName>sample string 1</SubscriptionName> </SubscriptionPermissionInfo> <SubscriptionPermissionInfo> <Permissions> <PermissionType>AccessCareSheets</PermissionType> <PermissionType>AccessCareSheets</PermissionType> </Permissions> <SubscriptionId>sample string 2</SubscriptionId> <SubscriptionName>sample string 1</SubscriptionName> </SubscriptionPermissionInfo> </SubscriptionPermissions> <Username>sample string 1</Username> </UserSettings> <UserSettings> <Firstname>sample string 2</Firstname> <IsActive>true</IsActive> <Lastname>sample string 3</Lastname> <SubscriptionPermissions> <SubscriptionPermissionInfo> <Permissions> <PermissionType>AccessCareSheets</PermissionType> <PermissionType>AccessCareSheets</PermissionType> </Permissions> <SubscriptionId>sample string 2</SubscriptionId> <SubscriptionName>sample string 1</SubscriptionName> </SubscriptionPermissionInfo> <SubscriptionPermissionInfo> <Permissions> <PermissionType>AccessCareSheets</PermissionType> <PermissionType>AccessCareSheets</PermissionType> </Permissions> <SubscriptionId>sample string 2</SubscriptionId> <SubscriptionName>sample string 1</SubscriptionName> </SubscriptionPermissionInfo> </SubscriptionPermissions> <Username>sample string 1</Username> </UserSettings> </ArrayOfUserSettings>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of UserSettingsName | Description | Type | Additional information |
---|---|---|---|
Username | string |
None. |
|
Firstname | string |
None. |
|
Lastname | string |
None. |
|
IsActive | boolean |
None. |
|
SubscriptionPermissions | Collection of SubscriptionPermissionInfo |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Username": "sample string 1", "Firstname": "sample string 2", "Lastname": "sample string 3", "IsActive": true, "SubscriptionPermissions": [ { "SubscriptionName": "sample string 1", "SubscriptionId": "sample string 2", "Permissions": [ "AccessCareSheets", "AccessCareSheets" ] }, { "SubscriptionName": "sample string 1", "SubscriptionId": "sample string 2", "Permissions": [ "AccessCareSheets", "AccessCareSheets" ] } ] }, { "Username": "sample string 1", "Firstname": "sample string 2", "Lastname": "sample string 3", "IsActive": true, "SubscriptionPermissions": [ { "SubscriptionName": "sample string 1", "SubscriptionId": "sample string 2", "Permissions": [ "AccessCareSheets", "AccessCareSheets" ] }, { "SubscriptionName": "sample string 1", "SubscriptionId": "sample string 2", "Permissions": [ "AccessCareSheets", "AccessCareSheets" ] } ] } ]
application/xml, text/xml
Sample:
<ArrayOfUserSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities"> <UserSettings> <Firstname>sample string 2</Firstname> <IsActive>true</IsActive> <Lastname>sample string 3</Lastname> <SubscriptionPermissions> <SubscriptionPermissionInfo> <Permissions> <PermissionType>AccessCareSheets</PermissionType> <PermissionType>AccessCareSheets</PermissionType> </Permissions> <SubscriptionId>sample string 2</SubscriptionId> <SubscriptionName>sample string 1</SubscriptionName> </SubscriptionPermissionInfo> <SubscriptionPermissionInfo> <Permissions> <PermissionType>AccessCareSheets</PermissionType> <PermissionType>AccessCareSheets</PermissionType> </Permissions> <SubscriptionId>sample string 2</SubscriptionId> <SubscriptionName>sample string 1</SubscriptionName> </SubscriptionPermissionInfo> </SubscriptionPermissions> <Username>sample string 1</Username> </UserSettings> <UserSettings> <Firstname>sample string 2</Firstname> <IsActive>true</IsActive> <Lastname>sample string 3</Lastname> <SubscriptionPermissions> <SubscriptionPermissionInfo> <Permissions> <PermissionType>AccessCareSheets</PermissionType> <PermissionType>AccessCareSheets</PermissionType> </Permissions> <SubscriptionId>sample string 2</SubscriptionId> <SubscriptionName>sample string 1</SubscriptionName> </SubscriptionPermissionInfo> <SubscriptionPermissionInfo> <Permissions> <PermissionType>AccessCareSheets</PermissionType> <PermissionType>AccessCareSheets</PermissionType> </Permissions> <SubscriptionId>sample string 2</SubscriptionId> <SubscriptionName>sample string 1</SubscriptionName> </SubscriptionPermissionInfo> </SubscriptionPermissions> <Username>sample string 1</Username> </UserSettings> </ArrayOfUserSettings>