Step prerequisites
Templates in Cyclr may include steps that require mapping or parameter values that are specific to your end user’s use of those templates.
If the Cycle prerequisites method returned Steps that required mapping, you need to loop through them to determine what is required.
Request:
CODE
GET /steps/{Step ID}/prerequisites
Authorization Bearer 0000000000000000000000000000000000000000000000000000000000000000
X-Cyclr-Account: 00000000-0000-0000-0000-000000000000
Response:
CODE
[{
"ReasonCode": 40,
"Reason": "Missing parameter mapping",
"ObjectType": "Parameter",
"ObjectId": 16017
},
{
"ReasonCode": 41,
"Reason": "Missing field mapping",
"ObjectType": "ConnectorFieldMapping",
"ObjectId": 283792
},
{
"ReasonCode": 41,
"Reason": "Missing field mapping",
"ObjectType": "ConnectorFieldMapping",
"ObjectId": 283793
},
{
"ReasonCode": 41,
"Reason": "Missing field mapping",
"ObjectType": "ConnectorFieldMapping",
"ObjectId": 283794
},
{
"ReasonCode": 41,
"Reason": "Missing field mapping",
"ObjectType": "ConnectorFieldMapping",
"ObjectId": 283795
},
{
"ReasonCode": 41,
"Reason": "Missing field mapping",
"ObjectType": "ConnectorFieldMapping",
"ObjectId": 283796
}
]