API-v1

Application Programming Interface

InvoiceXpress Documentation



Change account


users.change-account

Changes the current account to the account id submitted.

Usage

You call this method by submitting an HTTP PUT request to the following URL:

https://{account-name}.app.invoicexpress.com/users/change_account.xml
Header

Content-Type: application/xml; charset=utf-8

Body
<change_account_to>
  <id>1234</id>
</change_account_to>

Parameters

Parameters are the data you will pass with the call.

Property Required Description
api_key Yes Your secret identifier. You can find your API Key under Account >> API in the Account section.
id Yes The account you want to change to.

Return Values

If successful, the call will return:

HTTP: 200 OK

In case of error it will return one of the following error codes:

Code Description
HTTP: 401 Access denied The API Key parameter is missing or was incorrectly entered.
HTTP: 404 Not Found Account not found
HTTP: 422 Unprocessable Entity XML data is missing or elements were typed incorrectly.

Engenharia e Design ao seu serviço!

Uma equipa de Engenharia e Produto que pensam, desenham e executam em detalhe cada pormenor da experiência dos utilizadores.

Uma equipa ao seu dispor que trabalha diariamente para si.

Conhecer o InvoiceXpress