POST api/ClientHello
Request Information
URI Parameters
None.
Body Parameters
DTOHelloName | Description | Type | Additional information |
---|---|---|---|
ClientCode | string |
Required |
|
ClientGroupId | globally unique identifier |
Required |
|
AppName | string |
Required |
|
AppVersion | string |
Required |
|
ClientIpAddress | string |
None. |
|
ClientPort | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientCode": "sample string 1", "ClientGroupId": "42534839-9451-4f8a-9a78-a116be27d8c5", "AppName": "sample string 3", "AppVersion": "sample string 4", "ClientIpAddress": "sample string 5", "ClientPort": 6 }
application/xml, text/xml
Sample:
<DTOHello xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DueBit.DTO.RestClient"> <AppName>sample string 3</AppName> <AppVersion>sample string 4</AppVersion> <ClientCode>sample string 1</ClientCode> <ClientGroupId>42534839-9451-4f8a-9a78-a116be27d8c5</ClientGroupId> <ClientIpAddress>sample string 5</ClientIpAddress> <ClientPort>6</ClientPort> </DTOHello>
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": "6869544f-9441-42d8-a7c9-10321fa5543a", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-05-08T03:09:19.6257205", "UpdClientTime": "2024-05-08T03:09:19.6257205", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "4764c304-aa94-49f6-a444-b3ed9b5a77cb", "DTOClientGroup": { "Id": "cdecf228-f67a-4ff8-8efc-986d884cbacd", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 }, { "Id": "6869544f-9441-42d8-a7c9-10321fa5543a", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2024-05-08T03:09:19.6257205", "UpdClientTime": "2024-05-08T03:09:19.6257205", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "4764c304-aa94-49f6-a444-b3ed9b5a77cb", "DTOClientGroup": { "Id": "cdecf228-f67a-4ff8-8efc-986d884cbacd", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 } ], "DTOClientGroups": [ { "Id": "cdecf228-f67a-4ff8-8efc-986d884cbacd", "GroupName": "sample string 2" }, { "Id": "cdecf228-f67a-4ff8-8efc-986d884cbacd", "GroupName": "sample string 2" } ], "DTOClientAssociations": [ { "Id": "a56a0304-2534-4ae2-a5e4-2b805d5b3756", "ClientId": "fe6b8203-9d89-4696-a86e-36aa923fd872", "ClientIdAssociated": "da955a52-a572-4769-a646-ee147666c828" }, { "Id": "a56a0304-2534-4ae2-a5e4-2b805d5b3756", "ClientId": "fe6b8203-9d89-4696-a86e-36aa923fd872", "ClientIdAssociated": "da955a52-a572-4769-a646-ee147666c828" } ] }
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>fe6b8203-9d89-4696-a86e-36aa923fd872</ClientId> <ClientIdAssociated>da955a52-a572-4769-a646-ee147666c828</ClientIdAssociated> <Id>a56a0304-2534-4ae2-a5e4-2b805d5b3756</Id> </DTOClientAssociation> <DTOClientAssociation> <ClientId>fe6b8203-9d89-4696-a86e-36aa923fd872</ClientId> <ClientIdAssociated>da955a52-a572-4769-a646-ee147666c828</ClientIdAssociated> <Id>a56a0304-2534-4ae2-a5e4-2b805d5b3756</Id> </DTOClientAssociation> </DTOClientAssociations> <DTOClientGroups> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>cdecf228-f67a-4ff8-8efc-986d884cbacd</Id> </DTOClientGroup> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>cdecf228-f67a-4ff8-8efc-986d884cbacd</Id> </DTOClientGroup> </DTOClientGroups> <DTOClients> <DTOClient> <AddClientTime>2024-05-08T03:09:19.6257205+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>4764c304-aa94-49f6-a444-b3ed9b5a77cb</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>cdecf228-f67a-4ff8-8efc-986d884cbacd</Id> </DTOClientGroup> <Id>6869544f-9441-42d8-a7c9-10321fa5543a</Id> <Token>sample string 3</Token> <UpdClientTime>2024-05-08T03:09:19.6257205+02:00</UpdClientTime> </DTOClient> <DTOClient> <AddClientTime>2024-05-08T03:09:19.6257205+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>4764c304-aa94-49f6-a444-b3ed9b5a77cb</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>cdecf228-f67a-4ff8-8efc-986d884cbacd</Id> </DTOClientGroup> <Id>6869544f-9441-42d8-a7c9-10321fa5543a</Id> <Token>sample string 3</Token> <UpdClientTime>2024-05-08T03:09:19.6257205+02:00</UpdClientTime> </DTOClient> </DTOClients> </DTOResponseHello>