Payload:
{
"account": {
"basicInfo": {
"accountName": "<account_name>",
"accountType": "master",
"serviceProviderType": "<provider_type>",
"serviceProviderCode": "<provider_code>",
"isActive": "Active",
"userType": "system",
"credential_count": 1
},
"modelVersion": "v2.1",
"advancedInfo": {
"endpoint": "https://some.service-now.com",
"authModel": "basic"
},
"credentials": [
{
"purpose": [
"systemIntegration"
],
"context": [
{
"team": [
"TEAM1"
]
}
],
"credentialName": "<credential_name>",
"status": "Active",
"passwordFields": {
"username": "<user>",
"password": "<password>",
"client_id": "{client_id}",
"client_secret": "{client_secret}"
}
}
]
}
}