Supplier List

supplierlist

Parameter

Type

I/O

Description

IN

Parameters described in Overview

Company

String

IN

The company context

Action

String

IN

Identifier for the list requested

Response

XML / JSON

OUT

An XML tree / JSON string containing suppliers the user has access to

Description

Calling the expenses API with an action of supplierlist retrieves a list of supplier codes and associated names.

Return Values

Response – List of suppliers.

The structure of the response is:

<suppliers morepages="False" totalpages="1" totalrows="1">
  <supplier uuid="35DA1347-BC79-4166-A1CD-66622FCB6AF8">
    <suppliers_multicurrency>true</suppliers_multicurrency>
    <suppliers_name>Jo Bloggs</suppliers_name>
    <suppliers_suppliercode>1/JB</suppliers_suppliercode>
  </supplier>
</suppliers>
{
  "errormessage": "",
  "responsecode": 1,
  "pagerows": 0,
  "totalrows": 1,
  "responsestatus": "OK",
  "success": true,
  "responsemessage": "",
  "errorcode": 0,
  "totalpages": 1,
  "pagenumber": 1,
  "data": [
    {
      "suppliers_uuid": "35DA1347-BC79-4166-A1CD-66622FCB6AF8",
      "suppliers_multicurrency": true,
      "suppliers_suppliercode": "1/JB",
      "suppliers_name": "Jo Bloggs"
    }
  ]
}