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": "4b89ad2e-5479-4759-9a5a-b97eb65689cc", "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>4b89ad2e-5479-4759-9a5a-b97eb65689cc</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": "7c7b91c6-e192-434b-9362-8f320c209bbf", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2025-05-14T01:22:16.7124344", "UpdClientTime": "2025-05-14T01:22:16.7124344", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "f0a138cd-71ff-482c-a49d-6d0ea56eb026", "DTOClientGroup": { "Id": "0d706d15-9c25-4e1f-8e55-d78766454d52", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 }, { "Id": "7c7b91c6-e192-434b-9362-8f320c209bbf", "ClientCode": "sample string 2", "Token": "sample string 3", "AddClientTime": "2025-05-14T01:22:16.7124344", "UpdClientTime": "2025-05-14T01:22:16.7124344", "AppName": "sample string 4", "AppVersion": "sample string 5", "ClientGroupsId": "f0a138cd-71ff-482c-a49d-6d0ea56eb026", "DTOClientGroup": { "Id": "0d706d15-9c25-4e1f-8e55-d78766454d52", "GroupName": "sample string 2" }, "ClientIpAddress": "sample string 6", "ClientPort": 1 } ], "DTOClientGroups": [ { "Id": "0d706d15-9c25-4e1f-8e55-d78766454d52", "GroupName": "sample string 2" }, { "Id": "0d706d15-9c25-4e1f-8e55-d78766454d52", "GroupName": "sample string 2" } ], "DTOClientAssociations": [ { "Id": "de6a206f-077b-4450-bcdd-2ad5d39eb352", "ClientId": "1858ff7b-5732-4623-81a6-77d155af9942", "ClientIdAssociated": "d491a998-c5d3-4965-8796-2720853d46e6" }, { "Id": "de6a206f-077b-4450-bcdd-2ad5d39eb352", "ClientId": "1858ff7b-5732-4623-81a6-77d155af9942", "ClientIdAssociated": "d491a998-c5d3-4965-8796-2720853d46e6" } ] }
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>1858ff7b-5732-4623-81a6-77d155af9942</ClientId> <ClientIdAssociated>d491a998-c5d3-4965-8796-2720853d46e6</ClientIdAssociated> <Id>de6a206f-077b-4450-bcdd-2ad5d39eb352</Id> </DTOClientAssociation> <DTOClientAssociation> <ClientId>1858ff7b-5732-4623-81a6-77d155af9942</ClientId> <ClientIdAssociated>d491a998-c5d3-4965-8796-2720853d46e6</ClientIdAssociated> <Id>de6a206f-077b-4450-bcdd-2ad5d39eb352</Id> </DTOClientAssociation> </DTOClientAssociations> <DTOClientGroups> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>0d706d15-9c25-4e1f-8e55-d78766454d52</Id> </DTOClientGroup> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>0d706d15-9c25-4e1f-8e55-d78766454d52</Id> </DTOClientGroup> </DTOClientGroups> <DTOClients> <DTOClient> <AddClientTime>2025-05-14T01:22:16.7124344+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>f0a138cd-71ff-482c-a49d-6d0ea56eb026</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>0d706d15-9c25-4e1f-8e55-d78766454d52</Id> </DTOClientGroup> <Id>7c7b91c6-e192-434b-9362-8f320c209bbf</Id> <Token>sample string 3</Token> <UpdClientTime>2025-05-14T01:22:16.7124344+02:00</UpdClientTime> </DTOClient> <DTOClient> <AddClientTime>2025-05-14T01:22:16.7124344+02:00</AddClientTime> <AppName>sample string 4</AppName> <AppVersion>sample string 5</AppVersion> <ClientCode>sample string 2</ClientCode> <ClientGroupsId>f0a138cd-71ff-482c-a49d-6d0ea56eb026</ClientGroupsId> <ClientIpAddress>sample string 6</ClientIpAddress> <ClientPort>1</ClientPort> <DTOClientGroup> <GroupName>sample string 2</GroupName> <Id>0d706d15-9c25-4e1f-8e55-d78766454d52</Id> </DTOClientGroup> <Id>7c7b91c6-e192-434b-9362-8f320c209bbf</Id> <Token>sample string 3</Token> <UpdClientTime>2025-05-14T01:22:16.7124344+02:00</UpdClientTime> </DTOClient> </DTOClients> </DTOResponseHello>