younifyd
Menu

/api/factory_audits/createFollowup (Create Followup Facility Audit)

Create Followup Facility Audit

POST/api/factory_audits/createFollowup

Use it in a workflow

  1. Add a step and choose the TradeBeyond connector.
  2. Pick the /api/factory_audits/createFollowup (Create Followup Facility Audit) action (under FactoryAuditController).
  3. Fill in the fields below, then reference the result from later steps as {{apiFactoryAuditsCreatefollowupCreateFollowupFacilityAudit.response.data}}.

Request

Request body

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

modulestring

One ofNONEALLCOLORINGREDIENTITEM_COLORITEM_SIZEFACTINSPECT_BOOKINGITEMSPECIFICATIONNOTEPATTERNRFQRFQ_ITEMVENDORVQESTIMATEDVQCEESTIMATEDCECODELISTCUSTOFFERSHEETUSER_ACCOUNT_COMPANYCPMACTIVITIESAPI_REPRESENTATIONCOMMAND_LOGSHIPMENT_ADVICECOMPONENTSHIPMENT_COMPLIANCEPACKAGING_ARTWORKHCL_TYPECOLOR_PALETTESIZE_TEMPLATEDOMAINOPEN_COSTING_TEMPLATEQUERY_COUNT_CACHEPARTY_TEMPLATEDEFAULT_PROFILEREGISTRATION_REQUEST

fromModuleIdstring

One ofNONEALLCOLORINGREDIENTITEM_COLORITEM_SIZEFACTINSPECT_BOOKINGITEMSPECIFICATIONNOTEPATTERNRFQRFQ_ITEMVENDORVQESTIMATEDVQCEESTIMATEDCECODELISTCUSTOFFERSHEETUSER_ACCOUNT_COMPANYCPMACTIVITIESAPI_REPRESENTATIONCOMMAND_LOGSHIPMENT_ADVICECOMPONENTSHIPMENT_COMPLIANCEPACKAGING_ARTWORKHCL_TYPECOLOR_PALETTESIZE_TEMPLATEDOMAINOPEN_COSTING_TEMPLATEQUERY_COUNT_CACHEPARTY_TEMPLATEDEFAULT_PROFILEREGISTRATION_REQUEST

useVendorOwnerDomainboolean
Data Mapping Rule name to do inheritance.array<string>
actionIdstring
popupNamestring
sourceEntityIdsarray<string>
sourceEntitiesarray<object>
selectedDataInternalSeqNosarray<integer (int32)>
sourceEntityRefNostring
json
{
  "module": "NONE",
  "fromModuleId": "NONE",
  "useVendorOwnerDomain": false,
  "Data Mapping Rule name to do inheritance.": [
    "string"
  ],
  "actionId": "string",
  "popupName": "string",
  "sourceEntityIds": [
    "string"
  ],
  "sourceEntities": [
    {}
  ],
  "selectedDataInternalSeqNos": [
    0
  ],
  "sourceEntityRefNo": "string"
}

Response

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

formDefineobject
idstring
refNostring
labelstring
labelIdstring
versionstring
modulestring

One ofNONEALLCOLORINGREDIENTITEM_COLORITEM_SIZEFACTINSPECT_BOOKINGITEMSPECIFICATIONNOTEPATTERNRFQRFQ_ITEMVENDORVQESTIMATEDVQCEESTIMATEDCECODELISTCUSTOFFERSHEETUSER_ACCOUNT_COMPANYCPMACTIVITIESAPI_REPRESENTATIONCOMMAND_LOGSHIPMENT_ADVICECOMPONENTSHIPMENT_COMPLIANCEPACKAGING_ARTWORKHCL_TYPECOLOR_PALETTESIZE_TEMPLATEDOMAINOPEN_COSTING_TEMPLATEQUERY_COUNT_CACHEPARTY_TEMPLATEDEFAULT_PROFILEREGISTRATION_REQUEST

subModuleIdstring
refNoLabelFieldIdstring
inPopupstring
headerobject3 fields
toolbarobject2 fields
partyOwnerAccessRightstring

One ofNONEEDITABLEREADONLYHIDDEN

toolPanelsarray<object>2 fields
rightHandPanelsarray<object>4 fields
tabGroupsarray<object>14 fields
expandToolbarobject2 fields
isCustomFormboolean
defaultTocCollapseboolean
fieldCustomScriptsobject
actionCustomScriptsobject
docobject
idstring
versioninteger (int32)
refNostring
domainIdstring
statusstring
hubDomainIdstring
amIOwnerboolean
partiesListarray<object>17 fields
initializePartyByDocumentIdstring
docTagListarray<object>20 fields
docStatusstring
fromImportboolean
partyTemplateNamestring
partyTemplateRefstring
partyTemplateVerinteger (int32)
editingStatusstring
createUserNamestring
updateUserNamestring
isLatestboolean
json
{
  "formDefine": {
    "id": "string",
    "refNo": "string",
    "label": "string",
    "labelId": "string",
    "version": "string",
    "module": "NONE",
    "subModuleId": "string",
    "refNoLabelFieldId": "string",
    "inPopup": "string",
    "header": {
      "uiId": "string",
      "fields": [
        {
          "fieldId": "string",
          "viewName": "string",
          "fieldType": "string",
          "fieldValue": [
            "string"
          ],
          "fieldLabel": "string",
          "type": "string"
        }
      ],
      "linkbar": {
        "id": "string",
        "uiId": "string",
        "align": "string",
        "type": "VIEW",
        "menuItems": [
          {
            "id": "string",
            "uiId": "string",
            "type": "ITEM",
            "label": "string",
            "labelId": "string",
            "message": "string",
            "externalLabel": "string",
            "prefixIcon": "string",
            "iconKey": "string",
            "actionId": "string",
            "action": "string",
            "actionParams": {}
          }
        ]
      }
    },
    "toolbar": {
      "id": "string",
      "menuGroups": [
        {
          "id": "string",
          "uiId": "string",
          "align": "string",
          "type": "VIEW",
          "menuItems": [
            {
              "id": null,
              "uiId": null,
              "type": null,
              "label": null,
              "labelId": null,
              "message": null,
              "externalLabel": null,
              "prefixIcon": null,
              "iconKey": null,
              "actionId": null,
              "action": null,
              "actionParams": null
            }
          ]
        }
      ]
    },
    "partyOwnerAccessRight": "NONE"
  },
  "doc": {
    "id": "string",
    "version": 0,
    "refNo": "string",
    "domainId": "string",
    "status": "string",
    "hubDomainId": "string",
    "amIOwner": false,
    "partiesList": [
      {
        "revision": 0,
        "entityVersion": 0,
        "domainId": "string",
        "hubDomainId": "string",
        "isForReference": false,
        "internalSeqNo": 0,
        "duid": "string",
        "partyNameSeqNo": 0,
        "contactUserSeqNo": 0,
        "isOwner": false,
        "partyName": {
          "code": "string",
          "name": "string",
          "version": 0
        },
        "contactUser": {
          "id": "string",
          "refNo": "string",
          "version": 0,
          "userName": "string",
          "docStatus": "string"
        }
      }
    ],
    "initializePartyByDocumentId": "string",
    "docTagList": [
      {
        "id": "string",
        "refNo": "string",
        "revision": 0,
        "entityVersion": 0,
        "domainId": "string",
        "hubDomainId": "string",
        "isForReference": false,
        "version": 0,
        "status": "string",
        "docStatus": "string",
        "editingStatus": "string",
        "amIOwner": false
      }
    ],
    "docStatus": "string",
    "fromImport": false
  }
}

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