Use of the Supplier Data API with Pagination workspaces Endpoint
The Supplier Data API with Pagination workspaces endpoints use the GET method to send a JSON request to your site. The request retrieves data about supplier management projects and associated questionnaires.
|
Method |
Endpoint |
Pagination Limit Per Page |
Description |
|---|---|---|---|
|
GET |
{{runtime_URL}}/supplierdatapagination/v4/prod/vendors/{SM Vendor ID}/workspaces |
5 |
Gets all supplier management projects (workspaces) for the specified supplier |
|
GET |
{{runtime_URL}}/supplierdatapagination/v4/prod/vendors/{SM Vendor ID}/workspaces/{workspace ID} |
5 |
Gets the specified supplier management project (workspace) for the specified supplier |
GET {{runtime_URL}}/supplierdatapagination/v4/prod/vendors/SM100015/workspaces/?realm=mysitename
The workspaces endpoint can retrieve information for supplier request, registration, qualification, disqualification, preferred supplier management, and modular supplier management questionnaire projects. For process projects, use the process-related endpoints instead.
"Qualification": [
{
"active": true,
"statusId": "WS817753",
"requester": "asmith",
"approver": "bchen",
"title": "Qualification for Supplier 123",
"status": "Qualified",
"canDisqualify": false,
"isExpired": false,
"isRequalificationEligible": false,
"matrixInfo": {
"Status": "Qualified",
"Region": {
"USA",
"Canada"],
"Category": ["5218"],
"Business Unit": ["All"]
"Process Type": ["Full Qualification"]
},
"questionnaires": [],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/SM/rest/smv1/vendors/S2/workspaces/WS817753"
}
]
},
{
"active": true,
"statusId": "WS842485",
"requester": "asmith",
"approver": "bchen",
"title": "Qualification for Supplier123",
"status": "Qualification Started",
"canDisqualify": false,
"isExpired": false,
"isRequalificationEligible": false,
"matrixInfo": {
"Status": "Qualification Started",
"Region": ["Europe"],
"Category": ["5218"],
"Business Unit": ["All"]
"Process Type": ["Full Qualification"]
},
"questionnaires": [],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/SM/rest/smv1/vendors/S2/workspaces/WS842485"
}
]
},
],
"Registration": [
{
"active": true,
"invitationCount": 0,
"status": "Invited",
"updateStatus": "None",
"questionnaires": [],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/SM/rest/smv1/vendors/S2/workspaces/WORKSPACEID_NOT_FOUND_ERROR"
}
]
},
{
"active": true,
"statusId": "WS841943",
"requester": "tjones",
"title": "Supplier Registration for Supplier123",
"invitationCount": 0,
"status": "Invited",
"updateStatus": "None",
"matrixInfo": {
"Region": [
"USA",
"INDIA"
],
"Category": [
"12",
"53"
],
"Business Unit": ["All"]
"Process Type": []
},
"questionnaires": [],
"links": [
{
"rel": "self",
"href": "http://localhost:8080/SM/rest/smv1/vendors/S2/workspaces/WS841943"
}
]
}
],
...