POST api/organizationmanagement/user/ClientAssignments

Adds user client assignments.

Request Information

URI Parameters

None.

Body Parameters

The user client assignments.

Collection of ESignSystems.SmartSAFE.Models.Security.UserClientAssignmentModel
NameDescriptionTypeAdditional information
UserClientAssignmentId

Gets or sets the user client assignment identifier.

integer

None.

UserId

Gets or sets the user identifier.

integer

None.

ClientId

Gets or sets the client identifier.

integer

None.

ClientName

Gets or sets the client name.

string

None.

OrganizationId

Gets or sets the organization id.

integer

None.

IsDeleted

Gets or sets a value indicating whether the user client assignment model was deleted.

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "UserClientAssignmentId": 1,
    "UserId": 1,
    "ClientId": 1,
    "ClientName": "sample string 1",
    "OrganizationId": 1,
    "IsDeleted": true
  },
  {
    "UserClientAssignmentId": 1,
    "UserId": 1,
    "ClientId": 1,
    "ClientName": "sample string 1",
    "OrganizationId": 1,
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserClientAssignmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.Security">
  <UserClientAssignmentModel>
    <ClientId>1</ClientId>
    <ClientName>sample string 1</ClientName>
    <IsDeleted>true</IsDeleted>
    <OrganizationId>1</OrganizationId>
    <UserClientAssignmentId>1</UserClientAssignmentId>
    <UserId>1</UserId>
  </UserClientAssignmentModel>
  <UserClientAssignmentModel>
    <ClientId>1</ClientId>
    <ClientName>sample string 1</ClientName>
    <IsDeleted>true</IsDeleted>
    <OrganizationId>1</OrganizationId>
    <UserClientAssignmentId>1</UserClientAssignmentId>
    <UserId>1</UserId>
  </UserClientAssignmentModel>
</ArrayOfUserClientAssignmentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The list of assignments.

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.