On this page:
...
the return value is the HTTP Status code of the response. API executes this operation asynchronously. Every time the client invokes the method, it returns a code. If this code tells that the operations are still in progress the resource returns an 202 Accepted status code; otherwise returns a 200 OK status code. If an error occurred it returns 500 Internal Server Error.
the client can invoke the resource as many times as it wants.
Get retailer's customer account status
...
Description | Add package to retailer's customer account | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTTP Method | POST | ||||||||||||||||||||||||
URL |
| ||||||||||||||||||||||||
JSON request (example) |
| ||||||||||||||||||||||||
JSON response (example) |
| ||||||||||||||||||||||||
Paging and filtering (example) | none |
...
HTTP Status Code | When | Message |
---|---|---|
400 BadRequest | IdPack is not numeric | Invalid pack. |
ExternalUserId empty. | Invalid ExternalUserId. | |
ExternalUserId validation fails |
Note
- Non si possono aggiungere/rimuovere pacchetti ad un profilo TRIAL
- Non di possono rimuovere pacchetti a consumo dai profili Economy e Premium
- La tabella RetailerProfilePack definisce il numero di pacchetti Massimo e Minimo previsti per il profilo. La visibilità del pacchetto per l'utente finale (e quindi la sua attivabilità) è gestita con il campo IsActivable.
- Nel caso la risposta abbia lo status code settato a 403 Forbidden si ottiene la risposta con Code=1 quando la richiesta non viene validata dai limiti previsti dalla tabella RetailerProfilePack, mentre Code=2 quando la validazione secondo i limiti della tabella retailerProfilePack è ok ma fallisce l'operazione lato ADM. Un caso in cui può essere ritornato Code=2 è quando s cerca di cancellare un pacchetto a consumo (crediti).It is impossible to remove packages from TRIAL profile
- It is impossible to remove credits-related packages
Anchor | ||||
---|---|---|---|---|
|
...