Docs
Preview Resource Type Pull From Org
GET /resourceTypes/{resourceTypeId}/pull-from-org/preview
GET
/resourceTypes/{resourceTypeId}/pull-from-org/previewReads what Resources_PullResourceTypeFromOrg would do for a correlated type, without writing: new variant axes, variants and rate cards refreshed or added, component changes, the incoming variants, and the event variants the refresh cannot place on its own (unresolvedVariants). Use those to build the variantResolutions the refresh takes. Fails for a type that is not correlated to the organization library. Needs the resource type database read permission on the owning organization.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| resourceTypeId | uuid | Required |
Response
| Field | Type | Description |
|---|---|---|
| resourceTypeId | uuid | |
| name | string| null | |
| newVariantAxes | string[]| null | |
| variantsRefreshedFromOrg | integer | |
| rateCardsAdded | integer | |
| componentsAdded | integer | |
| componentsRemoved | integer | |
| componentTypesPulled | string[]| null | |
| rateCardsRefreshedFromOrg | integer | |
| incomingVariants | PullResourceTypePreviewResponseIncomingVariant[]| null | |
| unresolvedVariants | PullResourceTypePreviewResponseUnresolvedVariant[]| null |
PullResourceTypePreviewResponseIncomingVariant
| Field | Type | Description |
|---|---|---|
| orgVariantId | uuid | |
| name | string| null | |
| isBase | boolean | |
| eventVariantId | uuid| null |
PullResourceTypePreviewResponseUnresolvedVariant
| Field | Type | Description |
|---|---|---|
| eventVariantId | uuid | |
| name | string| null | |
| boundResourceCount | integer | |
| boundNeedCount | integer |