Skip to main content

Submit RFI Response

This API is used to submit responses for the RFI fetched using Get All RFI API.

URL
POST  https://api-test.instarem.com:4803/api/v1/client/{clientId}/rfi/{rfiId}

Header Parameters:

ParameterDescriptionTypeRequired
authorizationAuthentication token.StringYes
content-typeThe Content-Type entity header is used to indicate the media type of the resource. Expected values could be multipart/form-data.StringYes

Path Parameters:

ParameterDescriptionTypeRequired
clientIdThis is the unique client ID generated by Nium.StringYes
rfiIdThis is the unique client ID generated by Nium.StringYes

Example Request:

curl --request post \
--url "https://api-test.instarem.com:4803/api/v1/client/{clientId}/rfi/{rfiId}" \
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0OTgxMzQ4OTQsImRhdGEiOnsic3ViIjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWE1IiwiY2xpZW50IjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWExIn0sImlhdCI6MTQ5ODA0ODQ5NH0.pevwSDpk-JDNtVIpqFu_m0Xu1UnDVumrAYStcrxf8sM' \
--header 'content-type: application/json' \
--form "comments=Attached invoice copy" \
--form "file="

Body Parameters:

ParameterDescriptionTypeRequired
commentsThe comments against rfi.StringYes
fileThese documents could be invoice copy, PO copy, shipment notice copy for the Payers reference.FileYes

Response:

{
"rfiId": "03bd58a0-f726-11ea-ab6c-414e561364fe",
"requesterComment": "Requester comment against RFI",
"responderComment": "Provided Invoice copy",
"rfiStatus": "RESPONDED",
"documentTypeId": "03bd58a0-f726-11ea-ab6c-414e312364fd",
"documentType": "INVOICE_COPY"
}
ParameterDescriptionType
rfiIdUnique rfi id generated by Nium.String
requesterCommentRequester comments against RFI.String
responderCommentResponder comment against RFI.String
rfiStatusThis field defines the Rfi Status and the value for this could be RAISED or RESPONDED.String
documentTypeIdUnique document id of receive generated by Nium.String
documentTypeThis field defines the type of document and the value for this could be INVOICE_COPY or ADVANCED_SHIPMENT_NOTICE or PURCHASE_ORDER_COPY.String