Create Identity calling SCIM API LaunchedWorkflows

Hi All,

We are trying to create identity using SCIM API LaunchedWorkflows. The API call
should invoke “LCM Create and Update” workflow to create identity.

From Postman if the request is submitted as below, we are receiving “{“schemas”:[“urn:ietf:params:scim:api:messages:2.0:Error”],“detail”:“Resource Workflow null not found.”,“status”:“404”}” error. Could you please help us resolve the same.

URL:https:/host:port/identityiq/scim/v2/LaunchedWorkflows/
Opeartion type: POST
Request Body:
{
“schemas”: [
[
“urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow”,
“urn:ietf:params:scim:schemas:sailpoint:1.0:TaskResult”
]
],
“workflowName”: “LCM Create and Update”,
“input”: [
{
“key”: “plan”,
“value”: “<ProvisioningPlan>\n <AccountRequest application=\“IIQ\” nativeIdentity=\“Test Vuser64\” op=\“Create\”>\n <Attributes>\n <Map>\n <entry key=\“id\” value=\“be1764f75f744cf2bfc9942c111d03da\”/>\n <\/Map>\n <\/Attributes>\n <AttributeRequest name=\“firstname\” op=\“Set\” value=\“Test\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“lastname\” op=\“Set\” value=\“Vuser64\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“name\” op=\“Set\” value=\“Test Vuser64\”>\n <Attributes>\n <Map>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“manager\” op=\“Set\” value=\“yyy3c18\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“sailpoint.object.Identity\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“department\” op=\“Set\” value=\“HR\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“company\” op=\“Set\” value=\“Navistar\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“type\” op=\“Set\” value=\“contractor\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“userSubType\” op=\“Set\” value=\“Business User\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“division\” op=\“Set\” value=\“Auros\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“jobTitle\” op=\“Set\” value=\“tech\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“location\” op=\“Set\” value=\“Albany\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“city\” op=\“Set\” value=\“Albany\”>\n <Attributes>\n <Map>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“adRequired\” op=\“Set\” value=\“Yes\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“expiryDate\” op=\“Set\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“date\”/>\n <\/Map>\n <\/Attributes>\n <Value>\n <Date>1667586600000<\/Date>\n <\/Value>\n <\/AttributeRequest>\n <AttributeRequest name=\“emailRequired\” op=\“Set\” value=\“Yes\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“preferredFirstName\” op=\“Set\” value=\“Test\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“preferredLastName\” op=\“Set\” value=\“Vuser64\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“phoneNo\” op=\“Set\” value=\“999999999\”>\n <Attributes>\n <Map>\n <entry key=\“required\”>\n <value>\n <Boolean>true<\/Boolean>\n <\/value>\n <\/entry>\n <entry key=\“type\” value=\“string\”/>\n <\/Map>\n <\/Attributes>\n <\/AttributeRequest>\n <AttributeRequest name=\“useBy\” op=\“Set\”>\n <Value>\n <Date>\n1669783002186<\/Date>\n <\/Value>\n <\/AttributeRequest>\n <\/AccountRequest>\n <Attributes>\n <Map>\n <entry key=\“source\” value=\“LCM\”/>\n <\/Map>\n <\/Attributes>\n<\/ProvisioningPlan>\n”,
“type”: “application/xml”
}
]
}

@vasanthikatagouni1218  Your Body may not be properly formulated. Please have a look on that

@vasanthikatagouni1218 were you able to find the issue? i am aslo facing the issue. i am trying with GO program (see attached).

@pitam_dutta , can you provide any insight to it!!
iiqscim-code.txt (1.59 KB)

The API documentation for the LaunchedWorkflows POST appears to be incorrect.

I found the correct syntax in the documentation for the SecZetta  connector (SecZetta_Integration_Overview-SailPoint_IdentityIQ_052020.pdf > page 16)

workflowName and input need to be contained within the appropriate schema.  Here’s a screenshot…

Dude, you’re amazing. That worked!

SailPoint documentation is bad as always.