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 |
...
- 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).
Anchor | ||||
---|---|---|---|---|
|
The resource allows to retrieve the logins available for this account/console. It is necessary if the retailer allows his customers to add more administrators to an account.
Required | Where | Description | |
---|---|---|---|
id_Account | X | URL | See activation status response |
Description | Unprovide a retailer's customer account | ||||
---|---|---|---|---|---|
HTTP Method | GET | ||||
URL |
| ||||
JSON request (example) | none | ||||
JSON response (example) |
| ||||
Paging and filtering (example) | https://services.mailup.com/API/v1.1/Rest/RetailerService.svc/Account/{id_Account}/Login?PageSize=2&PageNumber=1 |
...
HTTP Status Code | When | Message |
---|---|---|
400 BadRequest | ExternalUserId empty. | Invalid ExternalUserId. |
ExternalUserId validation fails |
Get
...
retailer's customer account login url
...
Account/{id_Account}/Login/{id_Login}
NOTE: the id_Account is the value returned with Get reseller's customer account profile activation status resource
...
Method provides the URL to login to account.
Required | Where | Description | |
---|---|---|---|
id_Account | X | URL | See activation status response |
id_Login | X | URL | |
Request ADM | - | ||
Return value | The resellerSee get logins response |
Description | Get retailer's customer account login url | string
---|
...
HTTP Method | GET | ||||
---|---|---|---|---|---|
URL |
| ||||
JSON request (example) | none | ||||
JSON response (example) |
| ||||
Paging and filtering (example) | https://services.mailup.com/API/v1.1/Rest/RetailerService.svc/Account/{id_Account}/Login?PageSize=2&PageNumber=1 |
Errors
HTTP Status Code | When | Message |
---|---|---|
400 BadRequest | ExternalUserId empty. | Invalid ExternalUserId. |
ExternalUserId validation fails |