digitaluapi

<back to all web services

ClientAppUsersAdd

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
POST/client_app_users

export class ClientAppUsersAddResponse
{
    // @DataMember(Order=2)
    public ClientsId: number;

    // @DataMember(Order=3)
    public AppUserId: number;

    // @DataMember(Order=5)
    public ResponseStatus: ResponseStatus;

    public constructor(init?: Partial<ClientAppUsersAddResponse>) { (Object as any).assign(this, init); }
}

// @DataContract
export class ClientAppUsersAdd
{
    // @DataMember(Order=2)
    // @Validate(Validator="NotNull")
    public ClientsId: number;

    // @DataMember(Order=3)
    // @Validate(Validator="NotNull")
    public AppUserId: number;

    public constructor(init?: Partial<ClientAppUsersAdd>) { (Object as any).assign(this, init); }
}

TypeScript ClientAppUsersAdd DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /client_app_users HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"ClientsId":0,"AppUserId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ClientsId":0,"AppUserId":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}