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": "d4d8886d-a18b-4723-9fb4-02a877fb695f", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2025-07-10T15:40:39.3743861", "UpdClientTime": "2025-07-10T15:40:39.3743861", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "906894c1-4b7e-408d-8860-a15340c25c15", "DTOClientGroup": { "Id": "ba3cb9d3-9768-44b0-b80c-2e65b013b6c5", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 }, { "Id": "d4d8886d-a18b-4723-9fb4-02a877fb695f", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2025-07-10T15:40:39.3743861", "UpdClientTime": "2025-07-10T15:40:39.3743861", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "906894c1-4b7e-408d-8860-a15340c25c15", "DTOClientGroup": { "Id": "ba3cb9d3-9768-44b0-b80c-2e65b013b6c5", "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>2025-07-10T15:40:39.3743861+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>906894c1-4b7e-408d-8860-a15340c25c15</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>ba3cb9d3-9768-44b0-b80c-2e65b013b6c5</Id> </DTOClientGroup> <Id>d4d8886d-a18b-4723-9fb4-02a877fb695f</Id> <Token>sample string 3</Token> <UpdClientTime>2025-07-10T15:40:39.3743861+02:00</UpdClientTime> </DTOClient> <DTOClient> <AddClientTime>2025-07-10T15:40:39.3743861+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>906894c1-4b7e-408d-8860-a15340c25c15</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>ba3cb9d3-9768-44b0-b80c-2e65b013b6c5</Id> </DTOClientGroup> <Id>d4d8886d-a18b-4723-9fb4-02a877fb695f</Id> <Token>sample string 3</Token> <UpdClientTime>2025-07-10T15:40:39.3743861+02: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": "27705519-85db-46f7-90d3-6ff45ba0898d", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2025-07-10T15:40:39.3743861", "UpdClientTime": "2025-07-10T15:40:39.3743861", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "0ede9150-fd2d-4565-b413-145cb406a685", "DTOClientGroup": { "Id": "6b5eec4a-0248-4516-9836-f1e6b3acab1e", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 }, { "Id": "27705519-85db-46f7-90d3-6ff45ba0898d", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2025-07-10T15:40:39.3743861", "UpdClientTime": "2025-07-10T15:40:39.3743861", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "0ede9150-fd2d-4565-b413-145cb406a685", "DTOClientGroup": { "Id": "6b5eec4a-0248-4516-9836-f1e6b3acab1e", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 } ], "DTOClientGroups": [ { "Id": "6b5eec4a-0248-4516-9836-f1e6b3acab1e", "GroupName": "sample string 2" }, { "Id": "6b5eec4a-0248-4516-9836-f1e6b3acab1e", "GroupName": "sample string 2" } ], "DTOClientAssociations": [ { "Id": "16955594-55c0-4c9f-a379-e67fef2e2da4", "ClientId": "4b409bdf-e9b8-405e-b2d6-53d7fb2fc472", "ClientIdAssociated": "dee48752-6334-4861-abfe-ce478d4c3808" }, { "Id": "16955594-55c0-4c9f-a379-e67fef2e2da4", "ClientId": "4b409bdf-e9b8-405e-b2d6-53d7fb2fc472", "ClientIdAssociated": "dee48752-6334-4861-abfe-ce478d4c3808" } ] }
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>4b409bdf-e9b8-405e-b2d6-53d7fb2fc472</ClientId> <ClientIdAssociated>dee48752-6334-4861-abfe-ce478d4c3808</ClientIdAssociated> <Id>16955594-55c0-4c9f-a379-e67fef2e2da4</Id> </DTOClientAssociation> <DTOClientAssociation> <ClientId>4b409bdf-e9b8-405e-b2d6-53d7fb2fc472</ClientId> <ClientIdAssociated>dee48752-6334-4861-abfe-ce478d4c3808</ClientIdAssociated> <Id>16955594-55c0-4c9f-a379-e67fef2e2da4</Id> </DTOClientAssociation> </DTOClientAssociations> <DTOClientGroups> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>6b5eec4a-0248-4516-9836-f1e6b3acab1e</Id> </DTOClientGroup> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>6b5eec4a-0248-4516-9836-f1e6b3acab1e</Id> </DTOClientGroup> </DTOClientGroups> <DTOClients> <DTOClient> <AddClientTime>2025-07-10T15:40:39.3743861+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>0ede9150-fd2d-4565-b413-145cb406a685</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>6b5eec4a-0248-4516-9836-f1e6b3acab1e</Id> </DTOClientGroup> <Id>27705519-85db-46f7-90d3-6ff45ba0898d</Id> <Token>sample string 3</Token> <UpdClientTime>2025-07-10T15:40:39.3743861+02:00</UpdClientTime> </DTOClient> <DTOClient> <AddClientTime>2025-07-10T15:40:39.3743861+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>0ede9150-fd2d-4565-b413-145cb406a685</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>6b5eec4a-0248-4516-9836-f1e6b3acab1e</Id> </DTOClientGroup> <Id>27705519-85db-46f7-90d3-6ff45ba0898d</Id> <Token>sample string 3</Token> <UpdClientTime>2025-07-10T15:40:39.3743861+02:00</UpdClientTime> </DTOClient> </DTOClients> </DTOResponseHello>