4 - GIVE MASS UPDATE

Description: Retrieve job data from your Crosstrack-based server and send it to update the data on another server with the corresponding Tracking ID. You can retrieve/ multiple job updates.


A. Node:

http://ctsgtest.com/api/outsource/update/give/
 

B. Method:

GET
 

C. Parameters:

  1. Parameter:
    jobtids
    Example:
    LOCAL2996
    Type:
    String
    Description:
    Tracking ID of the job(s) to be updated
  2. Parameter:
    idft
    Example:
    193
    Type:
    String
    Description:
    the ID of the user making the API call ON TARGET SERVER
  3. Parameter:
    keyft
    Example:
    123
    Type:
    String
    Description:
    the API key of the user making the API call ON TARGET SERVER
  4. Parameter:
    scrft
    Example:
    ABC
    Type:
    String
    Description:
    the API secret of the user making the API call ON TARGET SERVER
  5. Parameter:
    server
    Example:
    http://crosstrack.sg
    Type:
    String
    Description:
    The TARGET SERVER

D. Request example:

http://ctsgtest.com/api/outsource/update/give/?jobtids=LOCAL2996&idft=193&keyft=123&scrft=ABC&server=http://crosstrack.sg
 

E. Response example:

{ "STATUS": "SUCCESS", "MESSAGE": "JOBS UPDATED IN DATABASE", "DATA": [ { "status": "SUCCESS", "id": "2000003084" } ] }
{
    "STATUS": "SUCCESS",
    "MESSAGE": "JOBS UPDATED IN DATABASE",
    "DATA": [
        {
            "status": "SUCCESS",
            "id": "2000003084"
        }
    ]
}
							

F. Example of API Call:

GET Give Mass Update

Result

{{result_getUpdateJob}}