- Home
- API reference
- API documentation (JSON/XML)
- Tasks
- Polling tasks
Poll confirm
Function
With the PollConfirm job type you confirm the retrieval of a notification from the message queue.
Note that each retrieval of a notification must be confirmed with PollConfirm. Only then the next first message can be retrieved with Poll Info 0905.
Description
Uses PollMessage object
Route: PUT /poll/{id}
No body has to send with.
{
}{
"status": {
"code": "S0906",
"text": "The notification was confirmed successfully.",
"type": "SUCCESS"
},
"object": {
"type": "Message",
"value": "627787",
"summary": 0
}
}
Auftragstyp-Code: 0906
Uses: Message object
<request>
<auth>
<user>customer</user>
<password>password</password>
<context>4</context>
</auth>
<task>
<code>0906</code>
<message>
<id>1</id>
</message>
</task>
</request> <result>
<data>
<summary>0</summary>
<message>
<id>1637795</id>
</message>
</data>
<status>
<code>S0906</code>
<text>The notification was confirmed successfully.</text>
<type>success</type>
<object>
<type>message</type>
<value>1637795</value>
</object>
</status>
</result>
<stid>20180618-app2-dev-9362</stid>
</response>