Docs
Create Provider Offering
POST /provider-offerings
POST
/provider-offeringsCreates a provider offering and returns its id. collaboratorRecordId is the provider, from the Organization API's CollaboratorDatabase_GetCollaboratorRecords, and resourceTypeId is the type offered, from ResourceTypes_Get. attributeValues answer the type's Offering attributes (a Select sends one entry per option carried) and carriedVariantIds are variants of the type. Refused when a required Offering attribute has no value. Add its rate cards afterwards with Resources_AddProviderOfferingRateCard. Needs the resource inventory edit permission.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| collaboratorRecordId | uuid | Optional | |
| resourceTypeId | uuid | Optional | |
| label | string | Optional | |
| attributeValues | CreateProviderOfferingRequestAttributeValue[] | Optional | |
| carriedVariantIds | uuid[] | Optional |
CreateProviderOfferingRequestAttributeValue
| Field | Type | Description |
|---|---|---|
| resourceAttributeId | uuid | |
| value | JsonElement| null |
Response
Type: uuid