Docs

Preview Resource Type Pull From Org

GET /resourceTypes/{resourceTypeId}/pull-from-org/preview

GET/resourceTypes/{resourceTypeId}/pull-from-org/preview

Reads 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

FieldTypeRequiredDescription
resourceTypeIduuidRequired

Response

FieldTypeDescription
resourceTypeIduuid
namestring| null
newVariantAxesstring[]| null
variantsRefreshedFromOrginteger
rateCardsAddedinteger
componentsAddedinteger
componentsRemovedinteger
componentTypesPulledstring[]| null
rateCardsRefreshedFromOrginteger
incomingVariantsPullResourceTypePreviewResponseIncomingVariant[]| null
unresolvedVariantsPullResourceTypePreviewResponseUnresolvedVariant[]| null

PullResourceTypePreviewResponseIncomingVariant

FieldTypeDescription
orgVariantIduuid
namestring| null
isBaseboolean
eventVariantIduuid| null

PullResourceTypePreviewResponseUnresolvedVariant

FieldTypeDescription
eventVariantIduuid
namestring| null
boundResourceCountinteger
boundNeedCountinteger