The Job Service has Entities and Operations concerned with jobs created in Norce Commerce.
The Job Service has Entities and Operations concerned with jobs created in Norce Commerce.
Get job information by it's id.
Read more about the method here.
curl -i -X GET \ 'https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Job/Get?id=0'
{ "Fail": 0, "Insert": 0, "IsFinished": true, "JobId": 0, "LastUpdated": "string", "RunTime": "string", "Start": "string", "StatusId": 0, "Stop": "string", "StorageName": "http://example.com", "Totals": 0, "Updates": 0 }
Get log for given job by it's id.
Read more about the method here.
curl -i -X GET \ 'https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Job/GetLog?id=0'
{ "SeverityId": 0, "Message": "string", "TimeStamp": "string", "ImportedRow": "string" }
Lists all Jobs in the logs.
Read more about the method here.
curl -i -X GET \ https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Job/List
[ { "Fail": 0, "Insert": 0, "IsFinished": true, "JobId": 0, "LastUpdated": "string", "RunTime": "string", "Start": "string", "StatusId": 0, "Stop": "string", "StorageName": "http://example.com", "Totals": 0, "Updates": 0 } ]
Restarts a given Job. The job must have finished (i.e. have status 2 or 3) before it may be restarted. A job can be restarted for two weeks, after that the initial payload is discarded.
Read more about the method here.
curl -i -X POST \ 'https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Job/Restart?id=0'
{ "StatusCode": "string", "Description": "string", "JobId": "string", "ValidationSummary": { "NrOfItemsInTotal": 0, "NrOfValidationFailures": 0, "Messages": [ … ] } }