Webservice connector Body JSON format

@colin_mckibben Is it possible to use in Sailpoint IDN .custom body format while calling the API
EXAMPLE

image
image

Thanks
Santanu

Hi Shantanu,

Can you please be more specific about which API you are referring to? I’m also not sure what you mean by “custom body format”. SailPoint APIs accept JSON bodies, which is what you are showing in your example. Is there an issue you are encountering?

@colin_mckibben
Just wanted to understand if this way we can pass the values in the body as mentioned below since it has many brackets so does the IDN supports this kind of body to be passed along with plan.variables?

I don’t see anything wrong with this. Give it a try and let us know if it doesn’t work.

@colin_mckibben .
We have a use case where we need to call multiple endpoints to for an Operation example
1- Operation one(Get the user details)-GET operation
2- Modify based on the first operation-PUT operation

Is it possible to have two separate operation for one single call like update user or add groups to the users

A before provisioning rule would probably be the easiest way to handle multiple calls in a single operation.

@colin_mckibben thanks we will look into it .
However when we try to use a body for create account as below we are getting 400 error as bad request.However same body works in postman.

Below is the body which we are using:

{
   
  "meta": {
   
    "resourceType": "User"
  },
  "schemas": [
    "urn:sap:cloud:scim:schemas:extension:custom:2.0:User",
    "urn:ietf:params:scim:schemas:core:2.0:User",
    "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User",
    "urn:ietf:params:scim:schemas:extension:sap:2.0:User"
  ],
  "userName": "TEST00963270",
  "name": {
    "familyName": "Tara Singh",
    "givenName": "Mahn Jeet"
  },
  "displayName": "Mahn(TEST00963270)",
  "userType": "employee",
  "active": true,
  "emails": [
    {
      "value": "[email protected]",
      "primary": true
    }
  ],
  "groups": [
    
    {
      "value": "65f61a90-0e43-4a32-8261-73b8cc61a9ee",
      "display": "TEST",
      "primary": false,
      "$ref": "https://asdfasdfasdf-qa.accounts.ondemand.com/scim/Groups/65f61a90-0e43-4a32-8261-73b8cc61a9ee"
    } 
  ],
  "urn:sap:cloud:scim:schemas:extension:custom:2.0:User": {
    "attributes": [
       
      {
        "name": "customAttribute5",
        "value": "999999"
      }
    ]
  },
  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
    "division": "9999",
    "costCenter": "",
    "employeeNumber": ""
  },
  "urn:ietf:params:scim:schemas:extension:sap:2.0:User": {
    "emails": [
      {
        "verified": true,
        "value": "[email protected]",
        "primary": true
      }
    ],
  
    "mailVerified": true, 
    "status": "active",
    "passwordDetails": {
      "status": "enabled"
    }
  }
}

@colin_mckibben can we use curl directly in the body? with curl it works
image

However can we use plan.variables in curl command?

Thanks
Shantanu

I’ve never tried cURL before. Try it out and let us know if it works.

@colin_mckibben it works with CURL but the value in the schemas are blank .so for that i am getting them back from the repsonce mapping.

One issue we are facing is Sailpoint IDN not reading this responce but jsonpath there seems to be no error.

example-

but same value when I provide it gives me no result in Sailpoint:

Plsease let us know if sailpoint supports such format.

Thanks
Shantanu