Skip to main content
POST
/
v1
/
internal-parties
Create Internal Party
curl --request POST \
  --url https://live.copilot.fabric.inc/data-customer/v1/internal-parties \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-site-context: <x-site-context>' \
  --data '{
  "parentInternalPartyId": "61b121a51d949f0009142ada",
  "name": "INTERNAL PARTY Section 1",
  "internalPartyType": "O",
  "isActive": true,
  "email": "[email protected]",
  "additionalAttributes": {}
}'
{
  "_id": "61df41892bf06d00092d0d8a",
  "parentInternalPartyId": "61df41892bf06d00092d0d8f",
  "employeeIdentifier": "employee_123",
  "name": "INTERNAL PARTY Section 1",
  "internalPartyType": "O",
  "isActive": true,
  "email": "[email protected]",
  "additionalAttributes": {},
  "isDeleted": false,
  "createdAt": "2021-08-30T23:20:42.822Z",
  "updatedAt": "2021-08-30T23:20:42.822Z"
}

Authorizations

Authorization
string
header
required

Headers

x-site-context
string
required
Example:

Body

application/json
internalPartyType
enum<string>
required
Available options:
O,
H,
P,
C
Example:
parentInternalPartyId
string
Example:
name
string
Example:
isActive
boolean
Example:
email
string<email>
Example:
additionalAttributes
object

Response

_id
string
required
Example:
internalPartyType
enum<string>
required
Available options:
O,
H,
P,
C
Example:
isDeleted
boolean
required
Example:
createdAt
string<date-time>
required
Example:
updatedAt
string<date-time>
required
Example:
parentInternalPartyId
string
Example:
employeeIdentifier
string
Example:
name
string
Example:
isActive
boolean
Example:
email
string
Example:
additionalAttributes
object