Skip navigation

REST API - Create the capability to update incident record using a qualification rather than entryID

score 45
You have not voted. Below Review Threshold

Question:

Can we use PUT with specific qualification parameter to update a record ?

I tried ?q='Incident Number'="INCXXX1234" on HPD:IncidentInerface form, but says method not allowed. But works with entryid.

Is there any limitation ?

 

Response:

- I think customer could take the non entry-id Incident Number in a GET operation to get the entry ID to use later on, if you watch API logging for say a search in the mid-tier, that's what we do -- a GLEWF for the results list and then a GetEntry for the specific entry ID, because GLEWF supports any field qualifications, GE only supports Entry ID. I think that's a limitation.

 

You can only use Entry ID:

URL qualifier

/entry/{formName}/{entryId}

  • formName—The form for which an entry is to be updated.
  • entryId—The entry ID.

Method

PUT

 

 

Reference:

https://docs.bmc.com/docs/ars2002/examples-of-using-the-rest-api-to-get-update-and-delete-an-entry-from-a-form-909638131.html

Comments

Vote history