Skip to main content

./list/items/{id}

Whenever you show a list of objects, you may fetch and display only a subset of the available fields. A UI may propose a link to show more details for a selected row.

The present method does exactly that: Pass it the object's primary key such as a job ID, a project ID or other and obtain the JSON with all data fields.

URL

(GET) ./list/items/{id}

 

PARAMETERS

URL parameters are:

id

The primary key of the object to retrieve. Typically the primary key is contained in the data field with identifier "id".

Example: With jobs the primary key is field "id" and looks like: "c227"or "s6662" whereby IDs starting with "c" are Codyt jobs and thos with "s" are Standard jobs.

string

 

 

RESULTS

The method returns a JSON object with all data fields and their values.

The format is the same as the individual rows returned by ./list

 

EXAMPLES

A job:

CODE
{
    "id": "c12859",
    "jobid": 12859,
    "iscodyt": true,
    "status": 2,
    "statust": "Inactive",
    "reference": "translate.txt",
    "deadline": null,
    "amode": 0,
    "amodet": "Fixed assignment",
    "cid": null,
    "cname": null,
    "uid": null,
    "uname": null,
    "task": "RV",
    "taskt": "RĂ©vision",
    "src": "en",
    "trg": "de",
    "srct": "Anglais",
    "trgt": "Allemand",
    "branch": "de",
    "brancht": "Allemand",
    "dtstart": null,
    "dtend": null,
    "created": "2018-03-19T11:34:03.107",
    "dtcassign": null,
    "dtpassign": null,
    "doccurrent": true,
    "docversion": "",
    "docversiondt": "2018-03-19T11:33:50.027",
    "paragraphs": 3,
    "segments": 3,
    "ratingavg": null,
    "ratingdt": null,
    "cfjob1": null,
    "cfjob2": null,
    "cfjob3": null,
    "cfjob4": null,
    "cfjob5": null,
    "lbljob5": 0,
    "lbljob9": null,
    "lbljob6": null,
    "lbljob14": 0,
    "lbljob21": null,
    "lbljob": {
        "xp": 0,
        "cnt": 2
    },
    "pid": 1357,
    "pstatust": "In progress",
    "preference": "Aly 1077",
    "pdeadline": null,
    "cfpro1": null,
    "cfpro2": null,
    "cfpro3": null,
    "cfpro4": null,
    "cfpro5": null
}
 

 

 

 

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.