Controller: General: Poll
Poll
Returns messages that are meant for a specific account
Input Parameter | Type | Description |
---|---|---|
Token* | String | |
LocationID* | Guid | |
ClientVersion* | Version |
Output Parameter | Type | Description |
---|---|---|
PollMessages | XML | List of messages for that account |
*=required
CURL EXAMPLE
curl -v 'https://example.com/ctrller/api.php?Task=Poll&Token=rrc1d3ntb53tt6b2vhail6rdtrsxov3v&LocationType=Desktop&LocationID=af5e7595-376e-42c2-bde8-545739895412&LocationName=EXAMPLE-PC&ClientVersion=7.0.4.0'
RESPONSE
<PollMsgResponse>
<PipeMsg>
<Header><AccountName>nmua379093952011</AccountName>
<Password></Password>
<LocationID></LocationID>
<ClientVersion></ClientVersion>
<CreationTstamp>2016-09-12 09:41:02</CreationTstamp>
<Task>NewWorkspace</Task>
</Header>
<Body>
<Account>nmua379093952011</Account>
<Workspace>
<WorkspaceName>nmsa285300964955</WorkspaceName>
<Label>vault-example</Label>
<Type>Team Fileserver</Type>
<Owner>true</Owner>
<Unicode>true</Unicode>
<Email2Folder>
<OnlyAllowTeamMembers></OnlyAllowTeamMembers>
</Email2Folder>
<StorageApiUrl>https://pc-192-168-2-164.office.aventiv.com/storage/api.php</StorageApiUrl>
</Workspace>
</Body>
</PipeMsg>
</PollMsgResponse>