POST api/ClientAddOrUpdateOrRemoveClients
Request Information
URI Parameters
None.
Body Parameters
Collection of DTOClientName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
ClientCode | string |
None. |
|
Token | string |
None. |
|
AddClientTime | date |
None. |
|
UpdClientTime | date |
None. |
|
AppName | string |
None. |
|
AppVersion | string |
None. |
|
ClientGroupsId | globally unique identifier |
None. |
|
DTOClientGroup | DTOClientGroup |
None. |
|
ClientIpAddress | string |
None. |
|
ClientPort | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": "75a6d196-870a-4d49-a6f6-558d0baf3310", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-03-29T07:45:47.1134217", "UpdClientTime": "2024-03-29T07:45:47.1134217", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "20cc827d-fb11-49ad-a6ba-52fd8eae7dde", "DTOClientGroup": { "Id": "2afbd23f-9484-4fb5-bdfc-2b1a64e509ec", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 }, { "Id": "75a6d196-870a-4d49-a6f6-558d0baf3310", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-03-29T07:45:47.1134217", "UpdClientTime": "2024-03-29T07:45:47.1134217", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "20cc827d-fb11-49ad-a6ba-52fd8eae7dde", "DTOClientGroup": { "Id": "2afbd23f-9484-4fb5-bdfc-2b1a64e509ec", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfDTOClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DueBit.DTO.RestClient"> <DTOClient> <AddClientTime>2024-03-29T07:45:47.1134217+01:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>20cc827d-fb11-49ad-a6ba-52fd8eae7dde</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>2afbd23f-9484-4fb5-bdfc-2b1a64e509ec</Id> </DTOClientGroup> <Id>75a6d196-870a-4d49-a6f6-558d0baf3310</Id> <Token>sample string 3</Token> <UpdClientTime>2024-03-29T07:45:47.1134217+01:00</UpdClientTime> </DTOClient> <DTOClient> <AddClientTime>2024-03-29T07:45:47.1134217+01:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>20cc827d-fb11-49ad-a6ba-52fd8eae7dde</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>2afbd23f-9484-4fb5-bdfc-2b1a64e509ec</Id> </DTOClientGroup> <Id>75a6d196-870a-4d49-a6f6-558d0baf3310</Id> <Token>sample string 3</Token> <UpdClientTime>2024-03-29T07:45:47.1134217+01:00</UpdClientTime> </DTOClient> </ArrayOfDTOClient>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DTOResponseHelloName | Description | Type | Additional information |
---|---|---|---|
DTOClients |
Ritorna i client del mio gruppo |
Collection of DTOClient |
None. |
DTOClientGroups |
Il mio gruppo |
Collection of DTOClientGroup |
None. |
DTOClientAssociations |
Le associazione del mio ClientId |
Collection of DTOClientAssociation |
None. |
Response Formats
application/json, text/json
Sample:
{ "DTOClients": [ { "Id": "56e6e72a-37e8-4b13-8c34-3ac6bd33bd6d", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-03-29T07:45:47.1290393", "UpdClientTime": "2024-03-29T07:45:47.1290393", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "1c9e1253-77d2-4bae-b8b1-38b669eca157", "DTOClientGroup": { "Id": "8fb4ab68-3681-421a-b491-04c1aa8eb860", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 }, { "Id": "56e6e72a-37e8-4b13-8c34-3ac6bd33bd6d", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-03-29T07:45:47.1290393", "UpdClientTime": "2024-03-29T07:45:47.1290393", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "1c9e1253-77d2-4bae-b8b1-38b669eca157", "DTOClientGroup": { "Id": "8fb4ab68-3681-421a-b491-04c1aa8eb860", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 } ], "DTOClientGroups": [ { "Id": "8fb4ab68-3681-421a-b491-04c1aa8eb860", "GroupName": "sample string 2" }, { "Id": "8fb4ab68-3681-421a-b491-04c1aa8eb860", "GroupName": "sample string 2" } ], "DTOClientAssociations": [ { "Id": "d094f746-fab8-4a76-8bfc-3a8c27a27cce", "ClientId": "c566657b-868e-4dd4-84df-ccb8dfa79300", "ClientIdAssociated": "a29d8806-6b4e-48aa-ad9e-1a71bd69fee8" }, { "Id": "d094f746-fab8-4a76-8bfc-3a8c27a27cce", "ClientId": "c566657b-868e-4dd4-84df-ccb8dfa79300", "ClientIdAssociated": "a29d8806-6b4e-48aa-ad9e-1a71bd69fee8" } ] }
application/xml, text/xml
Sample:
<DTOResponseHello xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DueBit.DTO.RestClient"> <DTOClientAssociations> <DTOClientAssociation> <ClientId>c566657b-868e-4dd4-84df-ccb8dfa79300</ClientId> <ClientIdAssociated>a29d8806-6b4e-48aa-ad9e-1a71bd69fee8</ClientIdAssociated> <Id>d094f746-fab8-4a76-8bfc-3a8c27a27cce</Id> </DTOClientAssociation> <DTOClientAssociation> <ClientId>c566657b-868e-4dd4-84df-ccb8dfa79300</ClientId> <ClientIdAssociated>a29d8806-6b4e-48aa-ad9e-1a71bd69fee8</ClientIdAssociated> <Id>d094f746-fab8-4a76-8bfc-3a8c27a27cce</Id> </DTOClientAssociation> </DTOClientAssociations> <DTOClientGroups> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>8fb4ab68-3681-421a-b491-04c1aa8eb860</Id> </DTOClientGroup> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>8fb4ab68-3681-421a-b491-04c1aa8eb860</Id> </DTOClientGroup> </DTOClientGroups> <DTOClients> <DTOClient> <AddClientTime>2024-03-29T07:45:47.1290393+01:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>1c9e1253-77d2-4bae-b8b1-38b669eca157</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>8fb4ab68-3681-421a-b491-04c1aa8eb860</Id> </DTOClientGroup> <Id>56e6e72a-37e8-4b13-8c34-3ac6bd33bd6d</Id> <Token>sample string 3</Token> <UpdClientTime>2024-03-29T07:45:47.1290393+01:00</UpdClientTime> </DTOClient> <DTOClient> <AddClientTime>2024-03-29T07:45:47.1290393+01:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>1c9e1253-77d2-4bae-b8b1-38b669eca157</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>8fb4ab68-3681-421a-b491-04c1aa8eb860</Id> </DTOClientGroup> <Id>56e6e72a-37e8-4b13-8c34-3ac6bd33bd6d</Id> <Token>sample string 3</Token> <UpdClientTime>2024-03-29T07:45:47.1290393+01:00</UpdClientTime> </DTOClient> </DTOClients> </DTOResponseHello>