tenant-collect-scheme-read
or tenant-admin
Gets a Collect Scheme by the schemeId
.
OK - Returns the Collect Scheme response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "schemeId": "string",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "drafts": [
- {
- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "agreement": {
- "agreementTypesDefinitionVersion": 0,
- "placeholders": {
- "clientName": "InsureX"
}
}, - "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": null,
- "code": null,
- "numeric": null,
- "name": null,
- "symbol": null,
- "numberOfDecimalPlaces": null
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}
tenant-collect-scheme-write
or tenant-admin
Delete a Collect Scheme by the schemeId
.
No Content
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
tenant-collect-scheme-read
or tenant-admin
Gets the published draft of a Collect Scheme by the schemeId
.
OK - Returns the Collect Draft response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "agreement": {
- "agreementTypesDefinitionVersion": 0,
- "placeholders": {
- "clientName": "InsureX"
}
}, - "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-collect-scheme-read
or tenant-admin
Gets the latest draft of a Collect Scheme by the schemeId
.
OK - Returns the Collect Draft response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "agreement": {
- "agreementTypesDefinitionVersion": 0,
- "placeholders": {
- "clientName": "InsureX"
}
}, - "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-collect-scheme-read
or tenant-admin
Gets a Collect Scheme draft by the schemeId
and draftId
.
OK - Returns the Collect Draft response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "agreement": {
- "agreementTypesDefinitionVersion": 0,
- "placeholders": {
- "clientName": "InsureX"
}
}, - "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- "string"
], - "excludedPaymentMethods": [
- "string"
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
tenant-collect-scheme-write
or tenant-admin
Delete a Collect Scheme draft by the schemeId
and draftId
.
No Content
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
tenant-collect-scheme-write
or tenant-admin
Creates a new draft for an existing Collect Scheme.
OK - Returns the Collect Draft response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "agreement": {
- "agreementTypesDefinitionVersion": 0,
- "placeholders": {
- "clientName": "InsureX"
}
}, - "rules": [
- {
- "currencies": [
- "string"
], - "countries": [
- "string"
], - "highValueInclusive": "string",
- "lowValueInclusive": "string",
- "apps": [
- {
- "appId": "string",
- "excludedPaymentMethods": [
- "string"
]
}
]
}
]
}
{- "schemeId": "string",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "drafts": [
- {
- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "agreement": {
- "agreementTypesDefinitionVersion": 0,
- "placeholders": {
- "clientName": "InsureX"
}
}, - "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": null,
- "code": null,
- "numeric": null,
- "name": null,
- "symbol": null,
- "numberOfDecimalPlaces": null
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}
tenant-collect-scheme-write
or tenant-admin
Publishes a draft for a Collect Scheme by the schemeId
and draftId
.
OK - Returns the Collect Scheme response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "schemeId": "string",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "drafts": [
- {
- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "agreement": {
- "agreementTypesDefinitionVersion": 0,
- "placeholders": {
- "clientName": "InsureX"
}
}, - "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": null,
- "code": null,
- "numeric": null,
- "name": null,
- "symbol": null,
- "numberOfDecimalPlaces": null
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}
tenant-collect-scheme-read
or tenant-admin
Gets a list of all Collect Scheme summaries.
OK - Returns the Collect Scheme summaries response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "currentPage": 1,
- "pageCount": 5,
- "pageSize": 10,
- "rowCount": 30,
- "totalCount": 50,
- "results": [
- {
- "schemeId": "string",
- "name": "string",
- "code": "string",
- "latestDraftId": "3c9d3e6a-b749-4243-90f3-c6a0fd7b1172",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "isLatestDraftPublished": true,
- "lastModified": "2019-08-24T14:15:22Z"
}
]
}
tenant-collect-scheme-write
or tenant-admin
Creates a new Collect Scheme.
Returns the Collect Draft response.
Bad Request - Returns the Error response object.
Unauthorised
Forbidden - If the API user does not have one of the roles listed in Role Requirements above.
{- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "agreement": {
- "agreementTypesDefinitionVersion": 0,
- "placeholders": {
- "clientName": "InsureX"
}
}, - "rules": [
- {
- "currencies": [
- "string"
], - "countries": [
- "string"
], - "highValueInclusive": "string",
- "lowValueInclusive": "string",
- "apps": [
- {
- "appId": "string",
- "excludedPaymentMethods": [
- "string"
]
}
]
}
]
}
{- "schemeId": "string",
- "publishedDraftId": "f146684a-35bf-4b8f-9c19-2d070befcb82",
- "drafts": [
- {
- "draftId": "dfb8a430-52c9-4ba8-8878-6bd070da9488",
- "name": "string",
- "code": "string",
- "agreementType": "SingleUse",
- "agreement": {
- "agreementTypesDefinitionVersion": 0,
- "placeholders": {
- "clientName": "InsureX"
}
}, - "rules": [
- {
- "priority": 0,
- "currencies": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "symbol": "string",
- "numberOfDecimalPlaces": 0
}
], - "countries": [
- {
- "id": "string",
- "code": "string",
- "numeric": 0,
- "name": "string",
- "currency": {
- "id": null,
- "code": null,
- "numeric": null,
- "name": null,
- "symbol": null,
- "numberOfDecimalPlaces": null
}
}
], - "highValueInclusive": 0,
- "lowValueInclusive": 0,
- "apps": [
- {
- "appId": "string",
- "availablePaymentMethods": [
- null
], - "excludedPaymentMethods": [
- null
]
}
]
}
], - "lastModified": "2019-08-24T14:15:22Z"
}
]
}