Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Retrieves a compact list of supplier groups with their ID, name, description.

This method provides a compact list of groups and is not used for retrieval of full details or management thereof.

URL

(GET) /services/suppliergroups/codes
(POST) /services/suppliergroups/codes
 
 

PARAMETERS

The method has no parameters.

Use the POST variant for auto-completion and pagination features.


RESULTS

The result is a JSON array with one element per country:

vUnique group ID.int
tName of group.string
dynamicIndicates if the group is dynamic (true) or static (false).bool
taskThe task code for which the group is defined. Example: TR, RV, PROOF.string

 

EXAMPLES

List of countries with 3 letter code and name.

 [
  {
    "v": 10,
    "t": "Preferred Translators",
    "dynamic": false,
    "task": "TR"
  },
  {
    "v": 15,
    "t": "Preferred Revisers",
    "dynamic": true,
    "task": "RV"
  },
  ...
]

 

 

 

  • No labels