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": "e40231bd-0621-4e02-898d-a089f3e06cb3", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-05-08T10:32:44.768255", "UpdClientTime": "2024-05-08T10:32:44.768255", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "93f76f1a-bc39-4562-ae7f-a913e4045b5e", "DTOClientGroup": { "Id": "abba654f-47d9-4cd6-a988-37e1617d4c43", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 }, { "Id": "e40231bd-0621-4e02-898d-a089f3e06cb3", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-05-08T10:32:44.768255", "UpdClientTime": "2024-05-08T10:32:44.768255", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "93f76f1a-bc39-4562-ae7f-a913e4045b5e", "DTOClientGroup": { "Id": "abba654f-47d9-4cd6-a988-37e1617d4c43", "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-05-08T10:32:44.768255+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>93f76f1a-bc39-4562-ae7f-a913e4045b5e</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>abba654f-47d9-4cd6-a988-37e1617d4c43</Id> </DTOClientGroup> <Id>e40231bd-0621-4e02-898d-a089f3e06cb3</Id> <Token>sample string 3</Token> <UpdClientTime>2024-05-08T10:32:44.768255+02:00</UpdClientTime> </DTOClient> <DTOClient> <AddClientTime>2024-05-08T10:32:44.768255+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>93f76f1a-bc39-4562-ae7f-a913e4045b5e</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>abba654f-47d9-4cd6-a988-37e1617d4c43</Id> </DTOClientGroup> <Id>e40231bd-0621-4e02-898d-a089f3e06cb3</Id> <Token>sample string 3</Token> <UpdClientTime>2024-05-08T10:32:44.768255+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": "f152bffc-632b-4ef8-b750-aafb93395f3e", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-05-08T10:32:44.7839037", "UpdClientTime": "2024-05-08T10:32:44.7839037", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "3da82113-ab1c-4191-a5e3-534ae4dabd55", "DTOClientGroup": { "Id": "18767680-6f92-4d57-8b77-b46c3f093bea", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 }, { "Id": "f152bffc-632b-4ef8-b750-aafb93395f3e", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-05-08T10:32:44.7839037", "UpdClientTime": "2024-05-08T10:32:44.7839037", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "3da82113-ab1c-4191-a5e3-534ae4dabd55", "DTOClientGroup": { "Id": "18767680-6f92-4d57-8b77-b46c3f093bea", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 } ], "DTOClientGroups": [ { "Id": "18767680-6f92-4d57-8b77-b46c3f093bea", "GroupName": "sample string 2" }, { "Id": "18767680-6f92-4d57-8b77-b46c3f093bea", "GroupName": "sample string 2" } ], "DTOClientAssociations": [ { "Id": "3c630519-2a48-4ca5-9f47-e8268adf483f", "ClientId": "6e8fa4f2-6033-4ec8-b597-040643fdc8c8", "ClientIdAssociated": "46cbb243-2e6b-452c-b5d4-58e8a1e2607f" }, { "Id": "3c630519-2a48-4ca5-9f47-e8268adf483f", "ClientId": "6e8fa4f2-6033-4ec8-b597-040643fdc8c8", "ClientIdAssociated": "46cbb243-2e6b-452c-b5d4-58e8a1e2607f" } ] }
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>6e8fa4f2-6033-4ec8-b597-040643fdc8c8</ClientId> <ClientIdAssociated>46cbb243-2e6b-452c-b5d4-58e8a1e2607f</ClientIdAssociated> <Id>3c630519-2a48-4ca5-9f47-e8268adf483f</Id> </DTOClientAssociation> <DTOClientAssociation> <ClientId>6e8fa4f2-6033-4ec8-b597-040643fdc8c8</ClientId> <ClientIdAssociated>46cbb243-2e6b-452c-b5d4-58e8a1e2607f</ClientIdAssociated> <Id>3c630519-2a48-4ca5-9f47-e8268adf483f</Id> </DTOClientAssociation> </DTOClientAssociations> <DTOClientGroups> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>18767680-6f92-4d57-8b77-b46c3f093bea</Id> </DTOClientGroup> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>18767680-6f92-4d57-8b77-b46c3f093bea</Id> </DTOClientGroup> </DTOClientGroups> <DTOClients> <DTOClient> <AddClientTime>2024-05-08T10:32:44.7839037+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>3da82113-ab1c-4191-a5e3-534ae4dabd55</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>18767680-6f92-4d57-8b77-b46c3f093bea</Id> </DTOClientGroup> <Id>f152bffc-632b-4ef8-b750-aafb93395f3e</Id> <Token>sample string 3</Token> <UpdClientTime>2024-05-08T10:32:44.7839037+02:00</UpdClientTime> </DTOClient> <DTOClient> <AddClientTime>2024-05-08T10:32:44.7839037+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>3da82113-ab1c-4191-a5e3-534ae4dabd55</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>18767680-6f92-4d57-8b77-b46c3f093bea</Id> </DTOClientGroup> <Id>f152bffc-632b-4ef8-b750-aafb93395f3e</Id> <Token>sample string 3</Token> <UpdClientTime>2024-05-08T10:32:44.7839037+02:00</UpdClientTime> </DTOClient> </DTOClients> </DTOResponseHello>