younifyd
Menu

/api/sample_evaluations/submitSample (Execute Sample Submission action)

Execute Sample Submission action

POST/api/sample_evaluations/submitSample

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/sample_evaluations/submitSample (Execute Sample Submission action) action (under SampleEvaluationController).
  3. Fill in the fields below, then reference the result from later steps as {{apiSampleEvaluationsSubmitsampleExecuteSampleSubmissionAction.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

sampleEvaluationListarray<object>
idstring
refNostring
versioninteger (int32)
sampleIdstring
json
{
  "sampleEvaluationList": [
    {
      "id": "string",
      "refNo": "string",
      "version": 0,
      "sampleId": "string"
    }
  ]
}

Response

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

sampleEvaluationListarray<object>
idstring
refNostring
versioninteger (int32)
sampleIdstring
json
{
  "sampleEvaluationList": [
    {
      "id": "string",
      "refNo": "string",
      "version": 0,
      "sampleId": "string"
    }
  ]
}

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