younifyd
Menu

/api/sample_evaluations/{refNo} (Update sampleEvaluation's docStatus by refNo)

update sampleEvaluation's docStatus by refNo.

PATCH/api/sample_evaluations/{refNo}

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/sample_evaluations/{refNo} (Update sampleEvaluation's docStatus by refNo) action (under SampleEvaluationController).
  3. Fill in the fields below, then reference the result from later steps as {{apiSampleEvaluationsRefnoUpdateSampleevaluationSDocstatusByRefno.response.data}}.

Request

Path parameters

refNostringrequired

Query parameters

statusstringrequired

One ofCONCEPTCOSTINGADOPTEDFINALIZEDNEWQUOTEDCONFIRMEDTOBUYREJECTEDTOBUYREVISEPROPOSEDOVERRIDDENSHORTLISTEDREMOVE_FROM_SHORTLISTSOURCINGPHASE_1_TRACKING_COMPLETEDMARK_AS_DEFAULTDRAFTCONFIRMEDOFFICIALSUBMITTEDREQUESTEDRELEASED_TO_VENDORVENDOR_CONFIRMEDBUYER_CONFIRMEDVENDOR_CHANGE_PROPOSEDVENDOR_REJECTEDBUYER_REJECTEDVENDOR_CONFIRMATION_SENTVENDOR_REJECTION_SENTCOMPLETEDSCHEDULEDPO_CHANGE_PROPOSEDCHANGE_ACCEPTEDCHANGE_REJECTEDPO_ACCEPTEDPO_REJECTEDOUT_OF_SIGNATURESIGNEDREVISION_REQUESTCLOSED

approvalTemplateIdstring
versioninteger (int32)
docStatusstringrequired

One ofACTIVEINACTIVECANCELED

Response

Returns 200 with an object. Read it in later steps with {{apiSampleEvaluationsRefnoUpdateSampleevaluationSDocstatusByRefno.response.data.<field>}}.

idstring
refNostring
versioninteger (int32)
sampleIdstring
json
{
  "id": "string",
  "refNo": "string",
  "version": 0,
  "sampleId": "string"
}

Need more? See the TradeBeyond guide for connection setup and behaviour shared by every action.

/api/sample_evaluations/{refNo} (Update sampleEvaluation's docStatus by refNo) — TradeBeyond — Documentation