younifyd
Menu

/api/factory_audits/{refNo} (Update sourcing record's docStatus by refNo)

update sourcing record's docStatus by refNo.

PATCH/api/factory_audits/{refNo}

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/factory_audits/{refNo} (Update sourcing record's docStatus by refNo) action (under FactoryAuditController).
  3. Fill in the fields below, then reference the result from later steps as {{apiFactoryAuditsRefnoUpdateSourcingRecordSDocstatusByRefno.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 a oneOf. Read it in later steps with {{apiFactoryAuditsRefnoUpdateSourcingRecordSDocstatusByRefno.response.data.<field>}}.

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

/api/factory_audits/{refNo} (Update sourcing record's docStatus by refNo) — TradeBeyond — Documentation