Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
https://{DOMAIN}/api/async.php?t=sitemanager&m=pos_vendors&a=get_all_pos_vendors&authKey={AUTHKEY}

Return Values

The API will return JSON in the format
{
”success”:true|false,
”error”:true|false
}

SUCCESS

The return value for success will contain true in the success property.

Example

Code Block
{
    "success": true,
    "error": false,
    "msg": "4 rows created",
    "rowsCreated": 4
}

ERRORS

If the “error” property is true, a msg property will be included with clues as to what the error is.

Example

Code Block
{
    "success": false,
    "error": true,
    "msg": "Missing parameter."
}