View Integrated Commitments

To view integrated commitments:

  1. Send a request to the API using the following criteria:
    • Endpoint: https://localhost:7001/primeapi/restapi/project/commitment/externallySourced
    • Operation: GET
  2. The API should return a response similar to the following:
    • Response Code: 200
    • Example Response Body:
    [ 
          	{ 
          		"currencyCode": "USD", 
          		"projectCode": "Example Project", 
          		"workspaceCode": "Example Workspace Eight", 
          		"commitmentCost": { 
          			"commitmentId": 16006, 
          			"originalValueCommitment": 0, 
          			"originalValueProject": 0, 
          			"currentValueCommitment": 0, 
          			"originalValue": 0, 
          			"updateDate": "2018-01-26T17:45:02" 
          		}, 
          		"toCompanyPostalCode": "6789", 
          		"projectSourceId": "105", 
          		"toCompanyName": "Example Company", 
          		"toCompanySourceId": "105", 
          		"toCompanySiteId": "Tokyo", 
          		"fromCompanyName": "Example Company", 
          		"fromCompanyPostalCode": "6789", 
          		"fromCompanySourceId": "105", 
          		"fromCompanySiteId": "Tokyo", 
          		"submitedDate": "2018-01-26T17:45:03", 
          		"lastStatusAction": "APPROVE", 
          		"approveByUserName": "Example User", 
                  "submitByUserName": "Example User", 
                  "commitmentType": "NONE", 
                  "commitmentStatus": "APPROVED", 
                  "sourceId": "105", 
                  "itemCode": "CMT001", 
                  "currencyId": 0, 
                  "commitmentId": 16006, 
                  "awardedToCompanyId": 16008, 
                  "awardedByCompanyId": 16008, 
                  "commitmentConfiguredFields": { 
                      "commitmentId": 16006, 
                      "costFlexMap": {}, 
                      "textFlexMap": {}, 
                      "otherFlexMap": {}, 
                      "updateDate": "2018-01-26T17:45:02" 
                  }, 
                  "codeValuesCommitment": [], 
                  "commitmentCostId": 16006, 
                  "projectId": 38022, 
                  "name": "Example Commitment", 
                  "updateDate": "2018-01-26T17:45:04" 
              }, 
          ...more commitment objects 
          ]