business-rules

Insert a new business rule

post/api/v1/business-rules.v2.insert

Request

  • Base URL: https://api.partly.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.partly.com/api/v1/business-rules.v2.insert
  • Auth: none declared. Required headers: authorization

Headers

authorizationstring required

UTF-8 encoded string

Request body

namestring

UTF-8 encoded string

priorityinteger

32-bit signed integer

source_businessesUuidUuid[]

The list of businesses within the callers organization which this rule applies to An empty list means that the rule applies to all businesses within the organization

subject_organization_idstring uuid

UUID value type

Response

200 OK

idstring uuid required

UUID value type

namestring required

UTF-8 encoded string

organization_idstring uuid required

UUID value type

priorityinteger required

32-bit signed integer

source_businessesUuidUuid[] required

A list of filters to determine which businesses under the owning organization are considered a source of the relationship.

Providing an empty source list implies that all the businesses within the organization can be considered as a source

Changes

No recorded changes to this operation across all 1 revision of this API.