AMCS Group SupplierSite API

The SupplierSite API from AMCS Group — 3 operation(s) for suppliersite.

Operations 5

GET /directory/supplierSites/changes Retrieve changes #
GET /directory/supplierSites/{guid} Find with GUID #
PUT /directory/supplierSites/{guid} Partial update #
GET /directory/supplierSites Find with Filters #
POST /directory/supplierSites Create or update #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amcs-group:amcs-group-suppliersite-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amcs-group-suppliersite-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AMCS Platform REST Supplier Site API
  description: '![latest End points](/amcsrestapi/diagram/endpointslatest.svg)


    # Overview


    ## Who Should Read this Document


    This document contains a technical description of the AMCS Platform REST API. It is intended for:


    · System integrators


    · Customer IT team looking to integrate AMCS Platform with another system


    · Third parties looking to integrate their system with AMCS Platform


    ## Document Scope


    This document introduces the technical aspects of the AMCS Platform REST API. The purpose of this document is to provide readers with detail on how to:


    · Access the REST API


    · Make calls to the API to retrieve, append and update resources


    · Retrieve the incremental changes to a collection


    · Find more detail on the end points that are available from an environment. ## Summary


    AMCS Platform REST API is designed to support the integration of AMCS Platform with other systems. With care and additional infrastructure, the REST API can be used to build functionality on top of Platform but that is not it’s primary purpose. The ‘changes since’ process provides the main means of performing an initial synchronisation of the AMCS Platform and another system, and then keeping them synchronised. Methods are also provided to create and update resources. # Integration Patterns and Tools


    The AMCS Platform provides a number of tools that can be used to connect systems. Care should be taken to match the right tooling to the intended pattern of integration. · When an extract-based approach is needed, use BI reporting. · When derived values are require, use the data mart. · When business processes on different systems need to be integrated by synchronising the data on each through an event style interface, use the REST API. An integration using the REST API will need to take full responsibility for all aspects of the integration including:


    · Pulling change events from AMCS Platform


    · Filtering the changed resources for the ones that are of interest


    · Pulling additional resources from the REST API in order the retrieve all the properties needed by the destination


    · Mashing resources to create the complete view required


    · Translating that into the form required by the destination


    · Validating this to ensure it meet the entry rules of the destination


    · Pushing the result to the destination


    In the early stages of designing the interface care should be taken to ensure that the need for caching/staging has been considered. The changes since functionality is effectively a means of pulling create/change events from platform. The only filters available enable retrieval of related resources to build a view external to AMCS Platform


    # Basics


    The AMCS REST API provides a RESTful interface that allows access to the primary business resources of the AMCS platform. The interface follows general HATEOAS compliance principles. ## Quick start


    A quickstart walkthrough based on node.js and covering authentication and getting a page of customers can be found here. ## Interface definitions


    Swagger documentation for the end points available on an environment can be found at:


    Before 8.5: https://{environment domain name}/swagger/ui/index


    From 8.5: https://{environment domain name}/erp/api/swagger/ui/index


    ## HTTP Interface


    The following HTTP RESTful methods are provided as part of this API:


    · GET: Provides read access to retrieve details of one or more resources. · POST: Creates or updates a single resource or a set of resources. · PUT: Updates a single resource or a set of resources. Note:


    · DELETE methods are currently not provided as part of the API. The REST API URIs begin with


    https://{environment domain name}/erp/api/integrator/erp


    For example:

    https://prod.amcs-at-mycompany.com/erp/api/integrator/erp


    This should be used as the base of the URI.'
  version: latest
servers:
- url: https://ete-p5-tst-svc-core.amcsplatform.com/erp/api/integrator/erp
tags:
- name: SupplierSite
paths:
  /directory/supplierSites/changes:
    get:
      tags:
      - SupplierSite
      summary: Retrieve changes
      description: '| Property | Description |

        | ----------------------------------- | ------------------------------------------------------------------------- |

        | GUID | The GUID associated to the supplier site. |

        | Name | The supplier site''s name. |

        | RelatedSupplierGuid | The GUID associated to the supplier of this site. |

        | RelatedLocationPaymentGuid | Used to filter the related payment location guid associated to the payment location of this site. |

        | RelatedLocationGuid | Used to filter the related location guid associated to the location of the supplier site. |

        | UniqueReference | Used to filter on the the unique reference of the supplier site. |

        | PaymentTermListItem | The GUID and description of the PaymentTerm associated to the supplier site. |

        | PaymentTypeListItem | The GUID and description of the PaymentType associated to the supplier site. |

        | SICCodeListItem | The GUID and description of the Standard Industrial Classification code associated to the supplier site. |

        | SupplierTypeListItem | The GUID and description of the Supplier type associated to the supplier site. |

        | BankDetails | The object where bank details are specified. |

        | BankDetails.BankName | The bank name of the direct debit. |

        | BankDetails.DirectDebitRunConfigListItem | The GUID and description of the direct debit run configuration |

        | BankDetails.Address.Address1 till 5 | The 5 address lines of the bank. |

        | BankDetails.Address.Postcode | The Postcode of the bank. |

        | BankDetails.AccountName | The account name of the direct debit. |

        | BankDetails.AccountNo | The account number of the direct debit. |

        | BankDetails.SortCode | The sort code of the direct debit. |

        | BankDetails.BIC | The Bank Identifier Code of the direct debit. |

        | BankDetails.IBAN | The International Bank Account Number of the direct debit. |

        | PaymentHandlingCodeListItem | The GUID and description of the payment handling code associated to the supplier site. |

        | FacilityTypeListItem | The GUID and description of the facility type associated to the supplier site. |

        | SupplierTypesListItems[] | The array of supplier types associated to the supplier site. |

        | SupplierSiteTreatmentListItems[] | The array of supplier treatment associated to the supplier site. |

        | SupplierTypesListItems[0].SupplierTypeListItem | The GUID and description of the supplier type associated to the SupplierTypesListItems. |

        | WasteCarrierLicenceNumber | The waste carrier licence number. |

        | WasteCarrierLicenceExpiryDate | The waste carrier licence expiry date. |

        | WasteManagementLicenceNumber | The waste management licence number. |

        | RelatedAreaOfOriginGuid | The GUID associated to the area of origin of the supplier site. Filterable. |

        | ABPRegistrationNumber | The ABP registration number. |'
      operationId: SupplierSite_GetChanges
      parameters:
      - name: since
        in: query
        schema:
          type: string
      - name: cursor
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceChanges_ApiIntegratorSupplierSiteResource'
  /directory/supplierSites/{guid}:
    get:
      tags:
      - SupplierSite
      summary: Find with GUID
      description: '| Property | Description |

        | ----------------------------------- | ------------------------------------------------------------------------- |

        | GUID | The GUID associated to the supplier site. |

        | Name | The supplier site''s name. |

        | RelatedSupplierGuid | The GUID associated to the supplier of this site. |

        | RelatedLocationPaymentGuid | Used to filter the related payment location guid associated to the payment location of this site. |

        | RelatedLocationGuid | Used to filter the related location guid associated to the location of the supplier site. |

        | UniqueReference | Used to filter on the the unique reference of the supplier site. |

        | PaymentTermListItem | The GUID and description of the PaymentTerm associated to the supplier site. |

        | PaymentTypeListItem | The GUID and description of the PaymentType associated to the supplier site. |

        | SICCodeListItem | The GUID and description of the Standard Industrial Classification code associated to the supplier site. |

        | SupplierTypeListItem | The GUID and description of the Supplier type associated to the supplier site. |

        | BankDetails | The object where bank details are specified. |

        | BankDetails.BankName | The bank name of the direct debit. |

        | BankDetails.DirectDebitRunConfigListItem | The GUID and description of the direct debit run configuration |

        | BankDetails.Address.Address1 till 5 | The 5 address lines of the bank. |

        | BankDetails.Address.Postcode | The Postcode of the bank. |

        | BankDetails.AccountName | The account name of the direct debit. |

        | BankDetails.AccountNo | The account number of the direct debit. |

        | BankDetails.SortCode | The sort code of the direct debit. |

        | BankDetails.BIC | The Bank Identifier Code of the direct debit. |

        | BankDetails.IBAN | The International Bank Account Number of the direct debit. |

        | PaymentHandlingCodeListItem | The GUID and description of the payment handling code associated to the supplier site. |

        | FacilityTypeListItem | The GUID and description of the facility type associated to the supplier site. |

        | SupplierTypesListItems[] | The array of supplier types associated to the supplier site. |

        | SupplierSiteTreatmentListItems[] | The array of supplier treatment associated to the supplier site. |

        | SupplierTypesListItems[0].SupplierTypeListItem | The GUID and description of the supplier type associated to the SupplierTypesListItems. |

        | WasteCarrierLicenceNumber | The waste carrier licence number. |

        | WasteCarrierLicenceExpiryDate | The waste carrier licence expiry date. |

        | WasteManagementLicenceNumber | The waste management licence number. |

        | RelatedAreaOfOriginGuid | The GUID associated to the area of origin of the supplier site. Filterable. |

        | ABPRegistrationNumber | The ABP registration number. |'
      operationId: SupplierSite_Get
      parameters:
      - name: guid
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: udf
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceResultEntity_ApiIntegratorSupplierSiteResource'
    put:
      tags:
      - SupplierSite
      summary: Partial update
      description: '| Property | Description | Required |

        | ----------------------------------- | ------------------------------------------------------------------------- | -------- |

        | GUID | The GUID associated to the supplier site. | No |

        | Name | The supplier site''s name. | Yes |

        | RelatedSupplierGuid | The GUID associated to the supplier of this site. | Yes |

        | RelatedLocationPaymentGuid | The GUID associated to the payment location of this site. | Yes |

        | RelatedLocationGuid | The GUID associated to the location of the supplier site. | Yes |

        | PaymentTermListItem | The GUID and description of the PaymentTerm associated to the supplier site. | No |

        | PaymentTypeListItem | The GUID and description of the PaymentType associated to the supplier site. | No |

        | SICCodeListItem | The GUID and description of the Standard Industrial Classification code associated to the supplier site. | No |

        | SupplierTypeListItem | The GUID and description of the Supplier type associated to the supplier site. | No |

        | BankDetails | The object where bank details are specified. | No |

        | BankDetails.BankName | The bank name of the direct debit. | No |

        | BankDetails.DirectDebitRunConfigListItem | The GUID and description of the direct debit run configuration. | Yes if BankDetails is not null |

        | BankDetails.Address.Address1 till 5 | The 5 address lines of the bank. | No |

        | BankDetails.Address.Postcode | The Postcode of the bank. | No |

        | BankDetails.AccountName | The account name of the direct debit. | No |

        | BankDetails.AccountNo | The account number of the direct debit. | No |

        | BankDetails.SortCode | The sort code of the direct debit. | No |

        | BankDetails.BIC | The Bank Identifier Code of the direct debit. | No |

        | BankDetails.IBAN | The International Bank Account Number of the direct debit. | No |

        | PaymentHandlingCodeListItem | The GUID and description of the payment handling code associated to the supplier site. | No |

        | FacilityTypeListItem | The GUID and description of the facility type associated to the supplier site. | No |

        | SupplierTypesListItems[] | The array of supplier types associated to the supplier site. | No |

        | SupplierTypesListItems[0].SupplierTypeListItem | The GUID and description of the supplier type associated to the SupplierTypesListItems. | No |

        | WasteCarrierLicenceNumber | The waste carrier licence number.| No |

        | WasteCarrierLicenceExpiryDate | The waste carrier licence expiry date.| Yes if WasteCarrierLicenceNumber not null |

        | WasteManagementLicenceNumber | The waste management licence number.| No |

        | RelatedAreaOfOriginGuid| The GUID associated to the area of origin of the supplier site. | No |

        | ABPRegistrationNumber| The ABP registration number.| No |


        **Extra validations**


        | Condition | Error message |

        | --------- | ------------- |

        | BankDetails is not null and DirectDebitRunConfig not found with value BankDetails.DirectDebitRunConfigListItem.Guid | Failed to retrieve DirectDebitRunConfig with BankDetails.DirectDebitRunConfigListItem.Guid of {value of BankDetails.DirectDebitRunConfigListItem.Guid} |

        | The SupplierTypesListItems[0].SupplierTypeListItem.Guid is already present in the SupplierTypesListItems array | Failed to save. SupplierTypeListItem already exists with Guid of 8ef6ebc3-9d3b-eb11-8d0c-24418c4ab67b |

        | If WasteCarrierLicenceNumber is more than 20 characters long | Failed to save/update SupplierSite because WasteCarrierLicenceNumber must be no more than 20 characters long. |

        | If WasteCarrierLicenceNumber has a value and WasteCarrierLicenceExpiryDate is null or empty | Failed to save/update SupplierSite because WasteCarrierLicenceNumber property has been set, therefore WasteCarrierLicenceExpiryDate property must be set. |

        | If WasteManagementLicenceNumber is more than 20 characters long | Failed to save/update SupplierSite because WasteManagementLicenceNumber must be no more than 20 characters long. |'
      operationId: SupplierSite_Update
      parameters:
      - name: guid
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiIntegratorSupplierSiteResource'
        required: true
        x-bodyName: null
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceId'
  /directory/supplierSites:
    get:
      tags:
      - SupplierSite
      summary: Find with Filters
      description: '| Property | Description |

        | ----------------------------------- | ------------------------------------------------------------------------- |

        | GUID | The GUID associated to the supplier site. |

        | Name | The supplier site''s name. |

        | RelatedSupplierGuid | The GUID associated to the supplier of this site. |

        | RelatedLocationPaymentGuid | Used to filter the related payment location guid associated to the payment location of this site. |

        | RelatedLocationGuid | Used to filter the related location guid associated to the location of the supplier site. |

        | UniqueReference | Used to filter on the the unique reference of the supplier site. |

        | PaymentTermListItem | The GUID and description of the PaymentTerm associated to the supplier site. |

        | PaymentTypeListItem | The GUID and description of the PaymentType associated to the supplier site. |

        | SICCodeListItem | The GUID and description of the Standard Industrial Classification code associated to the supplier site. |

        | SupplierTypeListItem | The GUID and description of the Supplier type associated to the supplier site. |

        | BankDetails | The object where bank details are specified. |

        | BankDetails.BankName | The bank name of the direct debit. |

        | BankDetails.DirectDebitRunConfigListItem | The GUID and description of the direct debit run configuration |

        | BankDetails.Address.Address1 till 5 | The 5 address lines of the bank. |

        | BankDetails.Address.Postcode | The Postcode of the bank. |

        | BankDetails.AccountName | The account name of the direct debit. |

        | BankDetails.AccountNo | The account number of the direct debit. |

        | BankDetails.SortCode | The sort code of the direct debit. |

        | BankDetails.BIC | The Bank Identifier Code of the direct debit. |

        | BankDetails.IBAN | The International Bank Account Number of the direct debit. |

        | PaymentHandlingCodeListItem | The GUID and description of the payment handling code associated to the supplier site. |

        | FacilityTypeListItem | The GUID and description of the facility type associated to the supplier site. |

        | SupplierTypesListItems[] | The array of supplier types associated to the supplier site. |

        | SupplierSiteTreatmentListItems[] | The array of supplier treatment associated to the supplier site. |

        | SupplierTypesListItems[0].SupplierTypeListItem | The GUID and description of the supplier type associated to the SupplierTypesListItems. |

        | WasteCarrierLicenceNumber | The waste carrier licence number. |

        | WasteCarrierLicenceExpiryDate | The waste carrier licence expiry date. |

        | WasteManagementLicenceNumber | The waste management licence number. |

        | RelatedAreaOfOriginGuid | The GUID associated to the area of origin of the supplier site. Filterable. |

        | ABPRegistrationNumber | The ABP registration number. |'
      operationId: SupplierSite_GetCollection
      parameters:
      - name: filter
        in: query
        schema:
          type: string
      - name: max
        in: query
        schema:
          type: integer
          format: int32
      - name: page
        in: query
        schema:
          type: integer
          format: int32
      - name: includeCount
        in: query
        schema:
          type: boolean
      - name: udf
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceResultCollection_ApiIntegratorSupplierSiteResource'
    post:
      tags:
      - SupplierSite
      summary: Create or update
      description: '| Property | Description | Required |

        | ----------------------------------- | ------------------------------------------------------------------------- | -------- |

        | GUID | The GUID associated to the supplier site. | No |

        | Name | The supplier site''s name. | Yes |

        | RelatedSupplierGuid | The GUID associated to the supplier of this site. | Yes |

        | RelatedLocationPaymentGuid | The GUID associated to the payment location of this site. | Yes |

        | RelatedLocationGuid | The GUID associated to the location of the supplier site. | Yes |

        | PaymentTermListItem | The GUID and description of the PaymentTerm associated to the supplier site. | No |

        | PaymentTypeListItem | The GUID and description of the PaymentType associated to the supplier site. | No |

        | SICCodeListItem | The GUID and description of the Standard Industrial Classification code associated to the supplier site. | No |

        | SupplierTypeListItem | The GUID and description of the Supplier type associated to the supplier site. | No |

        | BankDetails | The object where bank details are specified. | No |

        | BankDetails.BankName | The bank name of the direct debit. | No |

        | BankDetails.DirectDebitRunConfigListItem | The GUID and description of the direct debit run configuration. | Yes if BankDetails is not null |

        | BankDetails.Address.Address1 till 5 | The 5 address lines of the bank. | No |

        | BankDetails.Address.Postcode | The Postcode of the bank. | No |

        | BankDetails.AccountName | The account name of the direct debit. | No |

        | BankDetails.AccountNo | The account number of the direct debit. | No |

        | BankDetails.SortCode | The sort code of the direct debit. | No |

        | BankDetails.BIC | The Bank Identifier Code of the direct debit. | No |

        | BankDetails.IBAN | The International Bank Account Number of the direct debit. | No |

        | PaymentHandlingCodeListItem | The GUID and description of the payment handling code associated to the supplier site. | No |

        | FacilityTypeListItem | The GUID and description of the facility type associated to the supplier site. | No |

        | SupplierTypesListItems[] | The array of supplier types associated to the supplier site. | No |

        | SupplierTypesListItems[0].SupplierTypeListItem | The GUID and description of the supplier type associated to the SupplierTypesListItems. | No |

        | WasteCarrierLicenceNumber | The waste carrier licence number.| No |

        | WasteCarrierLicenceExpiryDate | The waste carrier licence expiry date.| Yes if WasteCarrierLicenceNumber not null |

        | WasteManagementLicenceNumber | The waste management licence number.| No |

        | RelatedAreaOfOriginGuid| The GUID associated to the area of origin of the supplier site. | No |

        | ABPRegistrationNumber| The ABP registration number.| No |


        **Extra validations**


        | Condition | Error message |

        | --------- | ------------- |

        | BankDetails is not null and DirectDebitRunConfig not found with value BankDetails.DirectDebitRunConfigListItem.Guid | Failed to retrieve DirectDebitRunConfig with BankDetails.DirectDebitRunConfigListItem.Guid of {value of BankDetails.DirectDebitRunConfigListItem.Guid} |

        | The SupplierTypesListItems[0].SupplierTypeListItem.Guid is already present in the SupplierTypesListItems array | Failed to save. SupplierTypeListItem already exists with Guid of 8ef6ebc3-9d3b-eb11-8d0c-24418c4ab67b |

        | If WasteCarrierLicenceNumber is more than 20 characters long | Failed to save/update SupplierSite because WasteCarrierLicenceNumber must be no more than 20 characters long. |

        | If WasteCarrierLicenceNumber has a value and WasteCarrierLicenceExpiryDate is null or empty | Failed to save/update SupplierSite because WasteCarrierLicenceNumber property has been set, therefore WasteCarrierLicenceExpiryDate property must be set. |

        | If WasteManagementLicenceNumber is more than 20 characters long | Failed to save/update SupplierSite because WasteManagementLicenceNumber must be no more than 20 characters long. |'
      operationId: SupplierSite_Create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiIntegratorSupplierSiteResource'
        required: true
        x-bodyName: null
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResourceId'
components:
  schemas:
    ApiIntegratorSupplierSiteTreatmentResource:
      type: object
      properties:
        TreatmentCode:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        MaterialClass:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        Material:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        EWCCode:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        IsDefault:
          type: boolean
        Guid:
          format: uuid
          type: string
          example: 00000000-0000-0000-0000-000000000000
    ApiResourceResultCollectionExtra:
      type: object
      properties:
        count:
          type: integer
          format: int32
    ApiResourceResultEntityExtra:
      type: object
      properties:
        expand:
          type: object
          additionalProperties:
            type: object
            additionalProperties:
              type: object
        include:
          type: object
          additionalProperties:
            type: array
            items:
              type: object
              additionalProperties:
                type: object
    ApiResourceResultEntityLinks:
      type: object
      properties:
        self:
          type: string
        associations:
          type: array
          items:
            type: string
        expand:
          type: array
          items:
            type: string
        operations:
          type: array
          items:
            type: string
    ApiResourceResultUpdatesExtra:
      type: object
      properties:
        until:
          type: string
        cursor:
          type: string
    ApiResourceId:
      type: object
      properties:
        resource:
          type: string
          format: uuid
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'
    ApiIntegratorListItemResource:
      type: object
      properties:
        Description:
          type: string
        Guid:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
    ApiIntegratorSupplierSiteBankDetailsAddressResource:
      type: object
      properties:
        HouseNumber:
          type: string
        Address1:
          type: string
        Address2:
          type: string
        Address3:
          type: string
        Address4:
          type: string
        Address5:
          type: string
        Postcode:
          type: string
    ApiIntegratorSupplierSiteSiteTypeResource:
      type: object
      properties:
        SupplierTypeListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
    ApiResourceChanges_ApiIntegratorSupplierSiteResource:
      type: object
      properties:
        resource:
          type: array
          items:
            $ref: '#/components/schemas/ApiIntegratorSupplierSiteResource'
        extra:
          $ref: '#/components/schemas/ApiResourceResultUpdatesExtra'
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'
    ApiIntegratorSupplierSiteResource:
      type: object
      properties:
        Name:
          type: string
        RelatedSupplierGuid:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        RelatedLocationPaymentGuid:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        PaymentTypeListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        PaymentTermListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        SICCodeListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        PayableCycleListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        RelatedLocationGuid:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        BankDetails:
          $ref: '#/components/schemas/ApiIntegratorSupplierSiteBankDetailsResource'
        PaymentHandlingCodeListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        FacilityTypeListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        SupplierTypesListItems:
          type: array
          items:
            $ref: '#/components/schemas/ApiIntegratorSupplierSiteSiteTypeResource'
        SupplierSiteTreatmentListItems:
          type: array
          items:
            $ref: '#/components/schemas/ApiIntegratorSupplierSiteTreatmentResource'
        WasteCarrierLicenceNumber:
          type: string
        WasteCarrierLicenceExpiryDate:
          type: string
          format: dateTime
          example: '2000-01-01 00:00:00.000'
        WasteManagementLicenceNumber:
          type: string
        RelatedAreaOfOriginGuid:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        ABPRegistrationNumber:
          type: string
        GUID:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
    ApiResourceStatus:
      type: object
      properties:
        id:
          type: integer
          format: int32
        isSuccess:
          type: boolean
    ApiIntegratorSupplierSiteBankDetailsResource:
      type: object
      properties:
        BankName:
          type: string
        AccountName:
          type: string
        AccountNo:
          type: string
        SortCode:
          type: string
        BIC:
          type: string
        IBAN:
          type: string
        DirectDebitRunConfigListItem:
          $ref: '#/components/schemas/ApiIntegratorListItemResource'
        Address:
          $ref: '#/components/schemas/ApiIntegratorSupplierSiteBankDetailsAddressResource'
    ApiResourceResultCollection_ApiIntegratorSupplierSiteResource:
      type: object
      properties:
        resource:
          type: array
          items:
            $ref: '#/components/schemas/ApiIntegratorSupplierSiteResource'
        extra:
          $ref: '#/components/schemas/ApiResourceResultCollectionExtra'
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'
    ApiResourceResultEntity_ApiIntegratorSupplierSiteResource:
      type: object
      properties:
        resource:
          $ref: '#/components/schemas/ApiIntegratorSupplierSiteResource'
        links:
          $ref: '#/components/schemas/ApiResourceResultEntityLinks'
        extra:
          $ref: '#/components/schemas/ApiResourceResultEntityExtra'
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'
    ApiResourceErrors:
      type: object
      properties:
        errors:
          type: string