GetRequisitions (GET)

Overview

This GET API allows retrieval of Requisition details created in GEP SMART to post them into ERP.

URL Format: https://<Instance>/SmartInterfaceAPI/api/Requisition/GetRequisitions
 

Request

https://<Instance>/SmartInterfaceAPI/api/Requisition/GetRequisitions

Response
{
  "basicDetails": {
    "documentName": "string",
    "documentNumber": "string",
    "documentStatus": "string",
    "documentCreator": "string",
    "createdOn": "string",
    "documentLobDetails": [
      {
        "entityCode": "string",
        "entityType": "string"
      }
    ],
    "operationName": "string"
  },
  "isUrgent": true,
  "totalAmount": 0,
  "currency": "string",
  "tax": 0,
  "shipping": 0,
  "additionalCharges": 0,
  "customAttributes": [
    {
      "questionnaireTitle": "string",
      "questionnaireResponseValues": [
        {
          "childQuestionSets": [
            null
          ],
          "columnText": "string",
          "responseValue": "string",
          "rowId": "string"
        }
      ]
    }
  ],
  "headerEntities": [
    {
      "entityCode": "string",
      "entityType": "string"
    }
  ],
  "comments": [
    {
      "commentText": "string",
      "accessType": "string",
      "commentAttachment": [
        {
          "fileName": "string",
          "fileUri": "string",
          "extension": "string",
          "contentTransferEncoding": "string",
          "attachmentData": "string"
        }
      ]
    }
  ],
  "fobCode": "string",
  "fobLocationCode": "string",
  "freightTermsCode": "string",
  "transitTypeCode": "string",
  "carriersCode": "string",
  "shiptoLocation": {
    "locationName": "string",
    "locationNumber": "string",
    "address": {
      "addressline1": "string",
      "addressline2": "string",
      "addressline3": "string",
      "city": "string",
      "zipCode": "string",
      "stateInfo": {
        "stateAbbrevationCode": "string",
        "stateName": "string"
      },
      "countryInfo": {
        "countryCode": "string",
        "countryName": "string"
      },
      "phoneNo1": "string",
      "extenstionNo1": "string",
      "phoneNo2": "string",
      "extenstionNo2": "string",
      "mobileNo": "string",
      "faxNo": "string",
      "county": "string"
    },
    "deliverTo": "string",
    "registrationDetails": [
      {
        "companyIdentificationDisplayName": "string",
        "companyIdentification": "string"
      }
    ]
  },
  "delivertoLocation": {
    "locationName": "string",
    "locationNumber": "string",
    "address": {
      "addressline1": "string",
      "addressline2": "string",
      "addressline3": "string",
      "city": "string",
      "zipCode": "string",
      "stateInfo": {
        "stateAbbrevationCode": "string",
        "stateName": "string"
      },
      "countryInfo": {
        "countryCode": "string",
        "countryName": "string"
      },
      "phoneNo1": "string",
      "extenstionNo1": "string",
      "phoneNo2": "string",
      "extenstionNo2": "string",
      "mobileNo": "string",
      "faxNo": "string",
      "county": "string"
    },
    "deliverTo": "string",
    "registrationDetails": [
      {
        "companyIdentificationDisplayName": "string",
        "companyIdentification": "string"
      }
    ]
  },
  "billtoLocation": {
    "locationName": "string",
    "locationNumber": "string",
    "address": {
      "addressline1": "string",
      "addressline2": "string",
      "addressline3": "string",
      "city": "string",
      "zipCode": "string",
      "stateInfo": {
        "stateAbbrevationCode": "string",
        "stateName": "string"
      },
      "countryInfo": {
        "countryCode": "string",
        "countryName": "string"
      },
      "phoneNo1": "string",
      "extenstionNo1": "string",
      "phoneNo2": "string",
      "extenstionNo2": "string",
      "mobileNo": "string",
      "faxNo": "string",
      "county": "string"
    },
    "deliverTo": "string",
    "registrationDetails": [
      {
        "companyIdentificationDisplayName": "string",
        "companyIdentification": "string"
      }
    ]
  },
  "purchaseTypeDescription": "string",
  "billable": true,
  "sourceSystemName": "string",
  "requesterId": "string",
  "attachments": [
    {
      "fileName": "string",
      "fileUri": "string",
      "extension": "string",
      "contentTransferEncoding": "string",
      "attachmentData": "string"
    }
  ],
  "requisitionItems": [
    {
      "itemLineNumber": 0,
      "uom": "string",
      "quantity": 0,
      "unitPrice": 0,
      "description": "string",
      "dateNeeded": "2020-07-24T09:21:37.881Z",
      "clientPartnerCode": "string",
      "clientContactCode": "string",
      "contractNumber": "string",
      "orderLocationName": "string",
      "orderLocationCode": "string",
      "procurementStatus": "string",
      "inventoryType": true,
      "fobCode": "string",
      "fobLocationCode": "string",
      "startDate": "2020-07-24T09:21:37.882Z",
      "endDate": "2020-07-24T09:21:37.882Z",
      "buyerItemNumber": "string",
      "itemType": "string",
      "itemExtendedType": "string",
      "additionalCharges": 0,
      "customAttributes": [
        {
          "questionnaireTitle": "string",
          "questionnaireResponseValues": [
            {
              "childQuestionSets": [
                null
              ],
              "columnText": "string",
              "responseValue": "string",
              "rowId": "string"
            }
          ]
        }
      ],
      "additionalFieldAttributes": [
        {
          "additionalFieldValue": "string",
          "additionalFieldCode": "string",
          "additionalFieldName": "string"
        }
      ],
      "clientCategoryId": "string",
      "manufacturers": [
        {
          "manufacturerModel": "string",
          "manufacturerName": "string",
          "manufacturerPartNumber": "string",
          "manufacturerSupplierCode": "string"
        }
      ],
      "supplierPartAuxiliaryId": "string",
      "supplierPartId": "string",
      "sourceSystemInformation": [
        {
          "name": "string",
          "value": "string"
        }
      ],
      "unspsc": 0,
      "documentItemShippingDetails": [
        {
          "shiptoLocation": {
            "locationName": "string",
            "locationNumber": "string",
            "address": {
              "addressline1": "string",
              "addressline2": "string",
              "addressline3": "string",
              "city": "string",
              "zipCode": "string",
              "stateInfo": {
                "stateAbbrevationCode": "string",
                "stateName": "string"
              },
              "countryInfo": {
                "countryCode": "string",
                "countryName": "string"
              },
              "phoneNo1": "string",
              "extenstionNo1": "string",
              "phoneNo2": "string",
              "extenstionNo2": "string",
              "mobileNo": "string",
              "faxNo": "string",
              "county": "string"
            },
            "deliverTo": "string",
            "registrationDetails": [
              {
                "companyIdentificationDisplayName": "string",
                "companyIdentification": "string"
              }
            ]
          },
          "delivertoLocation": {
            "locationName": "string",
            "locationNumber": "string",
            "address": {
              "addressline1": "string",
              "addressline2": "string",
              "addressline3": "string",
              "city": "string",
              "zipCode": "string",
              "stateInfo": {
                "stateAbbrevationCode": "string",
                "stateName": "string"
              },
              "countryInfo": {
                "countryCode": "string",
                "countryName": "string"
              },
              "phoneNo1": "string",
              "extenstionNo1": "string",
              "phoneNo2": "string",
              "extenstionNo2": "string",
              "mobileNo": "string",
              "faxNo": "string",
              "county": "string"
            },
            "deliverTo": "string",
            "registrationDetails": [
              {
                "companyIdentificationDisplayName": "string",
                "companyIdentification": "string"
              }
            ]
          },
          "shippingMethod": "string"
        }
      ],
      "tax": 0,
      "taxes": [
        {
          "taxDescription": "string",
          "taxType": "string",
          "taxMode": "string",
          "taxValue": 0,
          "taxPercentage": 0,
          "taxCode": "string",
          "isAccrueTax": true
        }
      ],
      "shippingCharges": 0,
      "comments": [
        {
          "commentText": "string",
          "accessType": "string",
          "commentAttachment": [
            {
              "fileName": "string",
              "fileUri": "string",
              "extension": "string",
              "contentTransferEncoding": "string",
              "attachmentData": "string"
            }
          ]
        }
      ],
      "partnerSourceSystemValue": "string",
      "itemSplitsDetail": [
        {
          "documentSplitItemEntities": [
            {
              "entityType": "string",
              "entityCode": "string",
              "entityDisplayName": "string"
            }
          ],
          "splitItemTotal": 0,
          "customAttributes": [
            {
              "questionnaireTitle": "string",
              "questionnaireResponseValues": [
                {
                  "childQuestionSets": [
                    null
                  ],
                  "columnText": "string",
                  "responseValue": "string",
                  "rowId": "string"
                }
              ]
            }
          ],
          "splitType": "string",
          "quantity": 0,
          "percentage": 0
        }
      ],
      "itemSource": "string"
    }
  ],
  "buyingChannel": "string",
  "oboClientContactCode": "string",
  "additionalFieldAttributes": [
    {
      "additionalFieldValue": "string",
      "additionalFieldCode": "string",
      "additionalFieldName": "string"
    }
  ]
}

 

Examples

Success Scenario - Request

https://<Instance>/SmartInterfaceAPI/api/Requisition/GetRequisitions

Success Scenario - Response

{
    "data": [
        {
            "basicDetails": {
                "documentName": "Stock & Non Stock PR & PO",
                "documentNumber": "REQ-2020.001420",
                "documentStatus": "Approved",
                "documentCreator": "buyer.x1t@roche.com",
                "createdOn": "2020-04-29T09:22:34.13+00:00",
                "documentLobDetails": [
                    {
                        "entityCode": "X1TCLNT101",
                        "entityType": null
                    }
                ],
                "operationName": "new"
            },
            "isUrgent": false,
            "totalAmount": 242000.0,
            "currency": "USD",
            "tax": 0.0,
            "shipping": 0.0,
            "additionalCharges": 0.0,
            "customAttributes": [],
            "headerEntities": [
                {
                    "entityCode": "X1TCLNT101",
                    "entityType": "Source System"
                },
                {
                    "entityCode": "2638",
                    "entityType": "Purchasing Org"
                },
                {
                    "entityCode": "6164",
                    "entityType": "Company Code"
                },
                {
                    "entityCode": "2630",
                    "entityType": "Plant"
                }
            ],
            "comments": [
                {
                    "commentText": "",
                    "accessType": "",
                    "commentAttachment": []
                }
            ],
            "fobCode": null,
            "fobLocationCode": null,
            "freightTermsCode": null,
            "transitTypeCode": null,
            "carriersCode": null,
            "shiptoLocation": {
                "locationName": "Roche Diagnostics GmbH",
                "locationNumber": "Mannheim",
                "address": {
                    "addressline1": "Werk Mannheim",
                    "addressline2": "Wareneingang Geb.320",
                    "addressline3": "Leo Sternbach Strasse Tor 4",
                    "city": "Mannheim",
                    "zipCode": "68305",
                    "stateInfo": {
                        "stateAbbrevationCode": null,
                        "stateName": null
                    },
                    "countryInfo": {
                        "countryCode": "DE",
                        "countryName": "Germany"
                    },
                    "phoneNo1": null,
                    "extenstionNo1": null,
                    "phoneNo2": null,
                    "extenstionNo2": null,
                    "mobileNo": null,
                    "faxNo": null,
                    "county": null
                },
                "deliverTo": "",
                "registrationDetails": []
            },
            "delivertoLocation": {
                "locationName": null,
                "locationNumber": null,
                "address": null,
                "deliverTo": null,
                "registrationDetails": []
            },
            "billtoLocation": {
                "locationName": "Roche Diagnostics GmbH",
                "locationNumber": "6164",
                "address": null,
                "deliverTo": null,
                "registrationDetails": []
            },
            "purchaseTypeDescription": "Standard",
            "billable": false,
            "sourceSystemName": null,
            "requesterId": null,
            "attachments": [],
            "requisitionItems": [
                {
                    "itemLineNumber": 1,
                    "uom": "13",
                    "quantity": 100.0,
                    "unitPrice": 200.0,
                    "description": "Transportation Services",
                    "dateNeeded": "2020-05-14T12:00:00+00:00",
                    "clientPartnerCode": null,
                    "clientContactCode": null,
                    "contractNumber": null,
                    "orderLocationName": null,
                    "orderLocationCode": null,
                    "procurementStatus": "None",
                    "inventoryType": true,
                    "fobCode": null,
                    "fobLocationCode": null,
                    "startDate": null,
                    "endDate": null,
                    "buyerItemNumber": "50007689",
                    "itemType": "Material",
                    "itemExtendedType": "Material",
                    "additionalCharges": 0.0,
                    "customAttributes": [],
                    "additionalFieldAttributes": [],
                    "clientCategoryId": "",
                    "manufacturers": [
                        {
                            "manufacturerModel": null,
                            "manufacturerName": null,
                            "manufacturerPartNumber": null,
                            "manufacturerSupplierCode": null
                        }
                    ],
                    "supplierPartAuxiliaryId": null,
                    "supplierPartId": null,
                    "sourceSystemInformation": [],
                    "unspsc": 0,
                    "documentItemShippingDetails": [
                        {
                            "shiptoLocation": {
                                "locationName": "Roche Diagnostics GmbH",
                                "locationNumber": "Mannheim",
                                "address": {
                                    "addressline1": "Werk Mannheim",
                                    "addressline2": "Wareneingang Geb.320",
                                    "addressline3": "Leo Sternbach Strasse Tor 4",
                                    "city": "Mannheim",
                                    "zipCode": "68305",
                                    "stateInfo": {
                                        "stateAbbrevationCode": null,
                                        "stateName": null
                                    },
                                    "countryInfo": {
                                        "countryCode": "DE",
                                        "countryName": "Germany"
                                    },
                                    "phoneNo1": null,
                                    "extenstionNo1": null,
                                    "phoneNo2": null,
                                    "extenstionNo2": null,
                                    "mobileNo": null,
                                    "faxNo": null,
                                    "county": null
                                },
                                "deliverTo": null,
                                "registrationDetails": []
                            },
                            "delivertoLocation": null,
                            "shippingMethod": "Best Available"
                        }
                    ],
                    "tax": 0.0,
                    "taxes": [],
                    "shippingCharges": 0.0,
                    "comments": [
                        {
                            "commentText": "",
                            "accessType": "",
                            "commentAttachment": []
                        }
                    ],
                    "partnerSourceSystemValue": null,
                    "itemSplitsDetail": [
                        {
                            "documentSplitItemEntities": [
                                {
                                    "entityType": "Source System",
                                    "entityCode": "X1TCLNT101",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Purchasing Org",
                                    "entityCode": "2638",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Company Code",
                                    "entityCode": "6164",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Plant",
                                    "entityCode": "2630",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Cost Center",
                                    "entityCode": "6164000001",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Account Assignment Category",
                                    "entityCode": "K",
                                    "entityDisplayName": null
                                }
                            ],
                            "splitItemTotal": 20000.0,
                            "customAttributes": [],
                            "splitType": "",
                            "quantity": 100.0,
                            "percentage": 100.0
                        }
                    ],
                    "itemSource": "Internal"
                },
                {
                    "itemLineNumber": 2,
                    "uom": "16",
                    "quantity": 200.0,
                    "unitPrice": 111.0,
                    "description": "Hand Gloves",
                    "dateNeeded": "2020-05-14T12:00:00+00:00",
                    "clientPartnerCode": null,
                    "clientContactCode": null,
                    "contractNumber": null,
                    "orderLocationName": null,
                    "orderLocationCode": null,
                    "procurementStatus": "Ordered",
                    "inventoryType": false,
                    "fobCode": null,
                    "fobLocationCode": null,
                    "startDate": null,
                    "endDate": null,
                    "buyerItemNumber": "50007692",
                    "itemType": "Material",
                    "itemExtendedType": "Material",
                    "additionalCharges": 0.0,
                    "customAttributes": [],
                    "additionalFieldAttributes": [],
                    "clientCategoryId": "",
                    "manufacturers": [
                        {
                            "manufacturerModel": null,
                            "manufacturerName": null,
                            "manufacturerPartNumber": null,
                            "manufacturerSupplierCode": null
                        }
                    ],
                    "supplierPartAuxiliaryId": null,
                    "supplierPartId": null,
                    "sourceSystemInformation": [],
                    "unspsc": 0,
                    "documentItemShippingDetails": [
                        {
                            "shiptoLocation": {
                                "locationName": "Roche Diagnostics GmbH",
                                "locationNumber": "Mannheim",
                                "address": {
                                    "addressline1": "Werk Mannheim",
                                    "addressline2": "Wareneingang Geb.320",
                                    "addressline3": "Leo Sternbach Strasse Tor 4",
                                    "city": "Mannheim",
                                    "zipCode": "68305",
                                    "stateInfo": {
                                        "stateAbbrevationCode": null,
                                        "stateName": null
                                    },
                                    "countryInfo": {
                                        "countryCode": "DE",
                                        "countryName": "Germany"
                                    },
                                    "phoneNo1": null,
                                    "extenstionNo1": null,
                                    "phoneNo2": null,
                                    "extenstionNo2": null,
                                    "mobileNo": null,
                                    "faxNo": null,
                                    "county": null
                                },
                                "deliverTo": null,
                                "registrationDetails": []
                            },
                            "delivertoLocation": null,
                            "shippingMethod": "Best Available"
                        }
                    ],
                    "tax": 0.0,
                    "taxes": [],
                    "shippingCharges": 0.0,
                    "comments": [
                        {
                            "commentText": "",
                            "accessType": "",
                            "commentAttachment": []
                        }
                    ],
                    "partnerSourceSystemValue": null,
                    "itemSplitsDetail": [
                        {
                            "documentSplitItemEntities": [
                                {
                                    "entityType": "Source System",
                                    "entityCode": "X1TCLNT101",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Purchasing Org",
                                    "entityCode": "2638",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Company Code",
                                    "entityCode": "6164",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Plant",
                                    "entityCode": "2630",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Cost Center",
                                    "entityCode": "6164000001",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Account Assignment Category",
                                    "entityCode": "K",
                                    "entityDisplayName": null
                                }
                            ],
                            "splitItemTotal": 22200.0,
                            "customAttributes": [],
                            "splitType": "",
                            "quantity": 200.0,
                            "percentage": 100.0
                        }
                    ],
                    "itemSource": "Internal"
                },
                {
                    "itemLineNumber": 3,
                    "uom": "17",
                    "quantity": 300.0,
                    "unitPrice": 222.0,
                    "description": "Masks",
                    "dateNeeded": "2020-05-14T12:00:00+00:00",
                    "clientPartnerCode": null,
                    "clientContactCode": null,
                    "contractNumber": null,
                    "orderLocationName": null,
                    "orderLocationCode": null,
                    "procurementStatus": "Ordered",
                    "inventoryType": false,
                    "fobCode": null,
                    "fobLocationCode": null,
                    "startDate": null,
                    "endDate": null,
                    "buyerItemNumber": "50007693",
                    "itemType": "Material",
                    "itemExtendedType": "Material",
                    "additionalCharges": 0.0,
                    "customAttributes": [],
                    "additionalFieldAttributes": [],
                    "clientCategoryId": "",
                    "manufacturers": [
                        {
                            "manufacturerModel": null,
                            "manufacturerName": null,
                            "manufacturerPartNumber": null,
                            "manufacturerSupplierCode": null
                        }
                    ],
                    "supplierPartAuxiliaryId": null,
                    "supplierPartId": null,
                    "sourceSystemInformation": [],
                    "unspsc": 0,
                    "documentItemShippingDetails": [
                        {
                            "shiptoLocation": {
                                "locationName": "Roche Diagnostics GmbH",
                                "locationNumber": "Mannheim",
                                "address": {
                                    "addressline1": "Werk Mannheim",
                                    "addressline2": "Wareneingang Geb.320",
                                    "addressline3": "Leo Sternbach Strasse Tor 4",
                                    "city": "Mannheim",
                                    "zipCode": "68305",
                                    "stateInfo": {
                                        "stateAbbrevationCode": null,
                                        "stateName": null
                                    },
                                    "countryInfo": {
                                        "countryCode": "DE",
                                        "countryName": "Germany"
                                    },
                                    "phoneNo1": null,
                                    "extenstionNo1": null,
                                    "phoneNo2": null,
                                    "extenstionNo2": null,
                                    "mobileNo": null,
                                    "faxNo": null,
                                    "county": null
                                },
                                "deliverTo": null,
                                "registrationDetails": []
                            },
                            "delivertoLocation": null,
                            "shippingMethod": "Best Available"
                        }
                    ],
                    "tax": 0.0,
                    "taxes": [],
                    "shippingCharges": 0.0,
                    "comments": [
                        {
                            "commentText": "",
                            "accessType": "",
                            "commentAttachment": []
                        }
                    ],
                    "partnerSourceSystemValue": null,
                    "itemSplitsDetail": [
                        {
                            "documentSplitItemEntities": [
                                {
                                    "entityType": "Source System",
                                    "entityCode": "X1TCLNT101",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Purchasing Org",
                                    "entityCode": "2638",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Company Code",
                                    "entityCode": "6164",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Plant",
                                    "entityCode": "2630",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Cost Center",
                                    "entityCode": "6164000001",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Account Assignment Category",
                                    "entityCode": "K",
                                    "entityDisplayName": null
                                }
                            ],
                            "splitItemTotal": 66600.0,
                            "customAttributes": [],
                            "splitType": "",
                            "quantity": 300.0,
                            "percentage": 100.0
                        }
                    ],
                    "itemSource": "Internal"
                },
                {
                    "itemLineNumber": 4,
                    "uom": "18",
                    "quantity": 400.0,
                    "unitPrice": 333.0,
                    "description": "Face Wash",
                    "dateNeeded": "2020-05-14T12:00:00+00:00",
                    "clientPartnerCode": null,
                    "clientContactCode": null,
                    "contractNumber": null,
                    "orderLocationName": null,
                    "orderLocationCode": null,
                    "procurementStatus": "Ordered",
                    "inventoryType": false,
                    "fobCode": null,
                    "fobLocationCode": null,
                    "startDate": null,
                    "endDate": null,
                    "buyerItemNumber": "50007694",
                    "itemType": "Material",
                    "itemExtendedType": "Material",
                    "additionalCharges": 0.0,
                    "customAttributes": [],
                    "additionalFieldAttributes": [],
                    "clientCategoryId": "",
                    "manufacturers": [
                        {
                            "manufacturerModel": null,
                            "manufacturerName": null,
                            "manufacturerPartNumber": null,
                            "manufacturerSupplierCode": null
                        }
                    ],
                    "supplierPartAuxiliaryId": null,
                    "supplierPartId": null,
                    "sourceSystemInformation": [],
                    "unspsc": 0,
                    "documentItemShippingDetails": [
                        {
                            "shiptoLocation": {
                                "locationName": "Roche Diagnostics GmbH",
                                "locationNumber": "Mannheim",
                                "address": {
                                    "addressline1": "Werk Mannheim",
                                    "addressline2": "Wareneingang Geb.320",
                                    "addressline3": "Leo Sternbach Strasse Tor 4",
                                    "city": "Mannheim",
                                    "zipCode": "68305",
                                    "stateInfo": {
                                        "stateAbbrevationCode": null,
                                        "stateName": null
                                    },
                                    "countryInfo": {
                                        "countryCode": "DE",
                                        "countryName": "Germany"
                                    },
                                    "phoneNo1": null,
                                    "extenstionNo1": null,
                                    "phoneNo2": null,
                                    "extenstionNo2": null,
                                    "mobileNo": null,
                                    "faxNo": null,
                                    "county": null
                                },
                                "deliverTo": null,
                                "registrationDetails": []
                            },
                            "delivertoLocation": null,
                            "shippingMethod": "Best Available"
                        }
                    ],
                    "tax": 0.0,
                    "taxes": [],
                    "shippingCharges": 0.0,
                    "comments": [
                        {
                            "commentText": "",
                            "accessType": "",
                            "commentAttachment": []
                        }
                    ],
                    "partnerSourceSystemValue": null,
                    "itemSplitsDetail": [
                        {
                            "documentSplitItemEntities": [
                                {
                                    "entityType": "Source System",
                                    "entityCode": "X1TCLNT101",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Purchasing Org",
                                    "entityCode": "2638",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Company Code",
                                    "entityCode": "6164",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Plant",
                                    "entityCode": "2630",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Cost Center",
                                    "entityCode": "6164000001",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Account Assignment Category",
                                    "entityCode": "K",
                                    "entityDisplayName": null
                                }
                            ],
                            "splitItemTotal": 133200.0,
                            "customAttributes": [],
                            "splitType": "",
                            "quantity": 400.0,
                            "percentage": 100.0
                        }
                    ],
                    "itemSource": "Internal"
                }
            ],
            "buyingChannel": null,
            "oboClientContactCode": null,
            "additionalFieldAttributes": []
        },
        {
            "basicDetails": {
                "documentName": "Request2",
                "documentNumber": "REQ-2020.002080",
                "documentStatus": "Approved",
                "documentCreator": "CC-2020.000358",
                "createdOn": "2020-07-03T07:24:36.08+00:00",
                "documentLobDetails": [
                    {
                        "entityCode": "Roche",
                        "entityType": null
                    }
                ],
                "operationName": "new"
            },
            "isUrgent": false,
            "totalAmount": 165.0,
            "currency": "USD",
            "tax": 0.0,
            "shipping": 0.0,
            "additionalCharges": 0.0,
            "customAttributes": [
                {
                    "questionnaireTitle": "Event ID",
                    "questionnaireResponseValues": [
                        {
                            "childQuestionSets": [],
                            "columnText": null,
                            "responseValue": "1",
                            "rowId": null
                        }
                    ]
                },
                {
                    "questionnaireTitle": "Originating System Name",
                    "questionnaireResponseValues": [
                        {
                            "childQuestionSets": [],
                            "columnText": null,
                            "responseValue": "RMM",
                            "rowId": null
                        }
                    ]
                },
                {
                    "questionnaireTitle": "Originating System URL",
                    "questionnaireResponseValues": [
                        {
                            "childQuestionSets": [],
                            "columnText": null,
                            "responseValue": "www.google.com",
                            "rowId": null
                        }
                    ]
                }
            ],
            "headerEntities": [
                {
                    "entityCode": "Roche",
                    "entityType": "Company"
                },
                {
                    "entityCode": "EMEA",
                    "entityType": "Region"
                },
                {
                    "entityCode": "CH",
                    "entityType": "Country"
                },
                {
                    "entityCode": "1201",
                    "entityType": "Company Code"
                },
                {
                    "entityCode": "1001",
                    "entityType": "Plant"
                }
            ],
            "comments": [
                {
                    "commentText": "header comment1\n",
                    "accessType": "InternalUsers",
                    "commentAttachment": []
                }
            ],
            "fobCode": null,
            "fobLocationCode": null,
            "freightTermsCode": null,
            "transitTypeCode": null,
            "carriersCode": null,
            "shiptoLocation": {
                "locationName": "Roche Switzerland",
                "locationNumber": "LOC-10",
                "address": {
                    "addressline1": "Address1",
                    "addressline2": null,
                    "addressline3": null,
                    "city": "Zurich",
                    "zipCode": "72678",
                    "stateInfo": {
                        "stateAbbrevationCode": null,
                        "stateName": null
                    },
                    "countryInfo": {
                        "countryCode": "CH",
                        "countryName": "Switzerland"
                    },
                    "phoneNo1": null,
                    "extenstionNo1": null,
                    "phoneNo2": null,
                    "extenstionNo2": null,
                    "mobileNo": null,
                    "faxNo": null,
                    "county": null
                },
                "deliverTo": "",
                "registrationDetails": []
            },
            "delivertoLocation": {
                "locationName": null,
                "locationNumber": null,
                "address": null,
                "deliverTo": null,
                "registrationDetails": []
            },
            "billtoLocation": {
                "locationName": "Roche Diagnostics",
                "locationNumber": "100",
                "address": null,
                "deliverTo": null,
                "registrationDetails": []
            },
            "purchaseTypeDescription": "Standard",
            "billable": false,
            "sourceSystemName": null,
            "requesterId": null,
            "attachments": [],
            "requisitionItems": [
                {
                    "itemLineNumber": 1,
                    "uom": "EA",
                    "quantity": 10.0,
                    "unitPrice": 15.0,
                    "description": "LISTA SCHLITZWAND 80.091 75 MM",
                    "dateNeeded": "2020-07-18T12:00:00+00:00",
                    "clientPartnerCode": null,
                    "clientContactCode": null,
                    "contractNumber": null,
                    "orderLocationName": null,
                    "orderLocationCode": null,
                    "procurementStatus": "Ordered",
                    "inventoryType": true,
                    "fobCode": null,
                    "fobLocationCode": null,
                    "startDate": null,
                    "endDate": null,
                    "buyerItemNumber": "78004009",
                    "itemType": "Material",
                    "itemExtendedType": "Material",
                    "additionalCharges": 0.0,
                    "customAttributes": [],
                    "additionalFieldAttributes": [],
                    "clientCategoryId": "X20150402",
                    "manufacturers": [
                        {
                            "manufacturerModel": null,
                            "manufacturerName": "LISTA AG",
                            "manufacturerPartNumber": "80,091",
                            "manufacturerSupplierCode": null
                        }
                    ],
                    "supplierPartAuxiliaryId": null,
                    "supplierPartId": null,
                    "sourceSystemInformation": [],
                    "unspsc": 0,
                    "documentItemShippingDetails": [
                        {
                            "shiptoLocation": {
                                "locationName": "Roche Switzerland",
                                "locationNumber": "LOC-10",
                                "address": {
                                    "addressline1": "Address1",
                                    "addressline2": null,
                                    "addressline3": null,
                                    "city": "Zurich",
                                    "zipCode": "72678",
                                    "stateInfo": {
                                        "stateAbbrevationCode": null,
                                        "stateName": null
                                    },
                                    "countryInfo": {
                                        "countryCode": "CH",
                                        "countryName": "Switzerland"
                                    },
                                    "phoneNo1": null,
                                    "extenstionNo1": null,
                                    "phoneNo2": null,
                                    "extenstionNo2": null,
                                    "mobileNo": null,
                                    "faxNo": null,
                                    "county": null
                                },
                                "deliverTo": null,
                                "registrationDetails": []
                            },
                            "delivertoLocation": null,
                            "shippingMethod": "Best Available"
                        }
                    ],
                    "tax": 15.0,
                    "taxes": [
                        {
                            "taxDescription": "gepTax",
                            "taxType": "CMN_City",
                            "taxMode": "",
                            "taxValue": 0.0,
                            "taxPercentage": 10.0,
                            "taxCode": "test01",
                            "isAccrueTax": false
                        }
                    ],
                    "shippingCharges": 0.0,
                    "comments": [
                        {
                            "commentText": "line comment1\n",
                            "accessType": "InternalUsers",
                            "commentAttachment": []
                        }
                    ],
                    "partnerSourceSystemValue": null,
                    "itemSplitsDetail": [
                        {
                            "documentSplitItemEntities": [
                                {
                                    "entityType": "Company",
                                    "entityCode": "Roche",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Region",
                                    "entityCode": "EMEA",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Country",
                                    "entityCode": "CH",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Company Code",
                                    "entityCode": "1201",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Plant",
                                    "entityCode": "1001",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "Account Assignment Category",
                                    "entityCode": "K",
                                    "entityDisplayName": null
                                },
                                {
                                    "entityType": "CostCenter",
                                    "entityCode": "0000000999",
                                    "entityDisplayName": null
                                }
                            ],
                            "splitItemTotal": 165.0,
                            "customAttributes": [],
                            "splitType": "",
                            "quantity": 10.0,
                            "percentage": 100.0
                        }
                    ],
                    "itemSource": "Internal"
                }
            ],
            "buyingChannel": null,
            "oboClientContactCode": null,
            "additionalFieldAttributes": []
        }
    ],
    "statusCode": "200",
    "errorDetails": [],
    "successDetails": []
}

 

Data Elements

GetRequisitions

Property

Required?

Data type

Description

Validations/Exceptions

Data

 

List of InterfaceRequisition object

 

 

StatusCode

 

String

 

 

ErrorDetails

 

List of ErrorModel object

 

 

SuccessDetails

 

List of SuccessModel object

 

 

 

Data

Property

Required?

Data type

Description

Validations/Exceptions

Requisition

 

List of InterfaceRequisition object

Check data type InterfaceRequisition for details

 

 

Requisition

Property

Required?

Data type

Description

Validations/Exceptions

BasicDetails

Yes

InterfaceDocument object

 

 

IsUrgent

 

Boolean

 

 

TotalAmount

 

Decimal

 

 

Currency

 

String

 

 

Tax

 

Boolean

 

 

Shipping

 

Decimal

 

 

AdditionalCharges

 

Decimal

 

 

CustomAttributes

 

List of CustomAttribute object

 

 

HeaderEntities

 

List of InterfaceOrgEntity object

 

 

Comments

 

List of InterfaceComment object

 

 

FobCode

 

String

 

 

FobLocationCode

 

String

 

 

FreightTermsCode

 

String

 

 

TransitTypeCode

 

String

 

 

CarriersCode

 

String

 

 

ShiptoLocation

 

InterfaceLocation object

 

 

DelivertoLocation

 

InterfaceLocation object

 

 

BilltoLocation

 

InterfaceLocation object

 

 

PurchaseTypeDescription

 

String

 

 

Billable

 

Boolean

 

 

SourceSystemName

 

String

 

 

RequesterId

 

String

 

 

Attachments

 

List of InterfaceCommentAttachment object

 

 

RequisitionItems

 

List of InterfaceRequisitionItem object

 

 

BuyingChannel

 

String

 

 

OBOClientContactCode

 

String

 

 

AdditionalFieldAttributes

 

List of InterfaceP2PAdditionalFieldAtrribute object

 

 

 

BasicDetails

Property

Required?

Data type

Description

Validations/Exceptions

DocumentName

 

String

 

 

DocumentNumber

 

String

 

 

DocumentStatus

 

String

 

 

DocumentCreator

 

String

 

 

CreatedOn

 

String

 

 

DocumentLobDetails

 

List of InterfaceOrgEntity object

 

 

OperationName

 

String

 

 

 

DocumentLobDetails

Property

Required?

Data type

Description

Validations/Exceptions

EntityCode

 

String

 

 

EntityType

 

String

 

 

 

CustomAttributes

Property

Required?

Data type

Description

Validations/Exceptions

QuestionnaireTitle

 

String

 

 

QuestionnaireResponseValues

 

List of QuestionnaireResponseValue object

 

 

 

QuestionnaireResponseValues

Property

Required?

Data type

Description

Validations/Exceptions

ChildQuestionSets

 

List of CustomAttribute object

 

 

ColumnText

 

String

 

 

ResponseValue

 

String

 

 

RowId

 

String

 

 

 

Comments

Property

Required?

Data type

Description

Validations/Exceptions

CommentText

 

String

 

 

AccessType

 

String

 

 

CommentAttachment

 

List of InterfaceCommentAttachment object

 

 

 

CommentAttachment

Property

Required?

Data type

Description

Validations/Exceptions

FileName

 

String

 

 

FileUri

 

String

 

 

Extension

 

String

 

 

ContentTransferEncoding

 

String

 

 

AttachmentData

 

String

 

 

 

 

 

ShiptoLocation, DeliverytoLocation, BilltoLocation

Property

Required?

Data type

Description

Validations/Exceptions

LocationName

 

String

 

 

LocationNumber

 

String

 

 

Address

 

InterfaceAddress object

 

 

DeliverTo

 

String

 

 

RegistrationDetails

 

List of PartnerWiseIdentificationDetail object

 

 

 

Address

Property

Required?

Data type

Description

Validations/Exceptions

Addressline1

 

String

 

 

Addressline2

 

String

 

 

Addressline3

 

String

 

 

City

 

String

 

 

Zipcode

 

String

 

 

StateInfo

 

InterfaceStateInfo object

 

 

CountryInfo

 

InterfaceCountryInfo object

 

 

PhoneNo1

 

String

 

 

ExtenstionNo1

 

String

 

 

PhoneNo2

 

String

 

 

ExtenstionNo2

 

String

 

 

MobileNo

 

String

 

 

FaxNo

 

String

 

 

County

 

String

 

 

 

RegistrationDetails

Property

Required?

Data type

Description

Validations/Exceptions

CompanyIdentificationDisplayName

 

String

 

 

CompanyIdentification

 

String

 

 

 

RequisitionItems

Property

Required?

Data type

Description

Validations/Exceptions

AdditionalCharges

 

Decimal

 

 

CustomAttributes

 

List of CustomAttribute object

 

 

AdditionalFieldAttributes

 

InterfaceP2PAdditionalFieldAtrribute object

 

 

ClientCategoryId

 

String

 

 

Manufacturers

 

List of Manufacturer

 

 

SupplierPartAuxiliaryId

 

String

 

 

SupplierPartId

 

String

 

 

SourceSystemInformation

 

List of SourceSystemInformation object

 

 

Unspsc

 

Int

 

 

DocumentItemShippingDetails

 

List of InterfaceDocumentItemShippingDetail object

 

 

Tax

 

Decimal

 

 

Taxes

 

List of TaxesAndCharge object

 

 

ShippingCharges

 

Decimal

 

 

Comments

 

List of InterfaceComment object

 

 

PartnerSourceSystemValue

 

String

 

 

ItemExtendedType

 

String

 

 

ItemType

 

String

 

 

BuyerItemNumber

 

String

 

 

EndDate

 

DateTime

 

 

ItemLineNumber

 

Long

 

 

Uom

 

String

 

 

Quantity

 

Decimal

 

 

UnitPrice

 

Decimal

 

 

Description

 

String

 

 

DateNeeded

 

DateTime

 

 

ClientPartnerCode

 

String

 

 

ItemSplitsDetail

 

List of InterfaceRequisitionSplitItems object

 

 

ClientContactCode

 

String

 

 

OrderLocationName

 

String

 

 

OrderLocationCode

 

String

 

 

ProcurementStatus

 

String

 

 

InventoryType

 

Boolean

 

 

FobCode

 

String

 

 

FobLocationCode

 

String

 

 

StartDate

 

DateTime

 

 

ContractNumber

 

String

 

 

ItemSource

 

String

 

 

 

CustomAttributes

Property

Required?

Data type

Description

Validations/Exceptions

QuestionnaireTitle

 

String

 

 

QuestionnaireResponseValues

 

List of QuestionnaireResponseValue object

 

 

 

QuestionnaireResponseValues

Property

Required?

Data type

Description

Validations/Exceptions

ChildQuestionSets

 

List of CustomAttribute object

 

 

ColumnText

 

String

 

 

ResponseValue

 

String

 

 

RowId

 

String

 

 

 

 

AdditionalFieldAttributes

Property

Required?

Data type

Description

Validations/Exceptions

AdditionalFieldValue

 

String

 

 

AdditionalFieldCode

 

String

 

 

AdditionalFieldName

 

String

 

 

 

Manufacturers

Property

Required?

Data type

Description

Validations/Exceptions

ManufacturerModel

 

String

 

 

ManufacturerName

 

String

 

 

ManufacturerPartNumber

 

String

 

 

ManufacturerSupplierCode

 

String

 

 

 

SourceSystemInformation

Property

Required?

Data type

Description

Validations/Exceptions

Name

 

String

 

 

Value

 

String

 

 

 

DocumentItemShippingDetails

Property

Required?

Data type

Description

Validations/Exceptions

ShiptoLocation

 

InterfaceLocation object

 

 

DelivertoLocation

 

InterfaceLocation object

 

 

ShippingMethod

 

String

 

 

 

Taxes

Property

Required?

Data type

Description

Validations/Exceptions

TaxDescription

 

String

 

 

TaxType

 

String

 

 

TaxMode

 

String

 

 

TaxValue

 

Decimal

 

 

TaxPercentage

 

Decimal

 

 

TaxCode

 

String

 

 

IsAccrueTax

 

Boolean

 

 

 

Comments

Property

Required?

Data type

Description

Validations/Exceptions

CommentText

 

String

 

 

AccessType

 

String

 

 

CommentAttachment

 

List of InterfaceCommentAttachment object

 

 

 

CommentAttachment

Property

Required?

Data type

Description

Validations/Exceptions

FileName

 

String

 

 

FileUri

 

String

 

 

Extension

 

String

 

 

ContentTransferEncoding

 

String

 

 

AttachmentData

 

String

 

 

 

ItemSplitsDetail

Property

Required?

Data type

Description

Validations/Exceptions

DocumentSplitItemEntities

 

List of InterfaceDocumentSplitItemEntity object

 

 

 

InterfaceDocumentSplitItemEntity

Property

Required?

Data type

Description

Validations/Exceptions

EntityType

 

String

 

 

EntityCode

 

String

 

 

EntityDisplayName

 

String

 

 

 

ErrorDetails

Property

Required?

Data type

Description

Validations/Exceptions

Key

 

String

 

 

Errors

 

List of Error object

 

 

 

Errors

Property

Required?

Data type

Description

Validations/Exceptions

ErrorCode

 

String

 

 

ErrorDescription

 

String

 

 

 

SuccessDetails

Property

Required?

Data type

Description

Validations/Exceptions

Key

 

String