This method is used to set the labels on received messages, i.e. it is only valid for received messages.
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| username | xsd:string | mandatory – cannot be null or empty | The username of the registered user who sent the package |
| password | xsd:string | mandatory – cannot be null or empty | The password of the registered user who sent the package |
| encodedPassword | xsd:boolean | optional – can be null (indicates false) | Indicates whether the password parameter is MD5 encoded |
| sLabels | xsd:string | mandatory – cannot be null or empty | A “;” delimited list of tracking ids and label in the format 11042-R=Paper label;11045-R=Paper label 2;11046-R=Paper label 3 The tracking ID of the package to retrieve which must be in the same form as that returned by the <Id> element in the Response togetFolderContent. The label element is the label to set on each tracking id. |
OK:11042-R=OK;11045-R=OK;11046-R=OK;11047-R=OK;11048-R=OK
OK:11042-R=OK;11045-R=OK;11046-R=OK;11047-R=OK;11048-R=ERROR: Invalid ID