AMCS Group Country API

The Country API from AMCS Group — 2 operation(s) for country.

Specifications

OpenAPI Specification

amcs-group-country-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Core AccessGroup Country API
  version: core
tags:
- name: Country
paths:
  /lists/countries/{guid}:
    get:
      tags:
      - Country
      summary: Find with GUID
      description: "| Property                  | Description                                                           |\r\n| ------------------------- | --------------------------------------------------------------------- |\r\n| GUID                      | The GUID associated to the country |\r\n| Description            | The description of the country |\r\n| Abbreviation            | The abbreviation of the country |\r\n| ISO3166Numeric        | The 3166 numeric iso of the country |\r\n| ISOThreeChar            | The three character iso of the country                             |\r\n| ISOTwoChar            | The two character iso of the country |\r\n| IsDefault| Whether the country is default |\r\n| IsDeleted| Whether the country is deleted|"
      operationId: Country_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[ApiIntegratorCountryResource]'
  /lists/countries:
    get:
      tags:
      - Country
      summary: Find with Filters
      description: "| Property                  | Description                                                           |\r\n| ------------------------- | --------------------------------------------------------------------- |\r\n| GUID                      | The GUID associated to the country |\r\n| Description            | The description of the country |\r\n| Abbreviation            | The abbreviation of the country |\r\n| ISO3166Numeric        | The 3166 numeric iso of the country |\r\n| ISOThreeChar            | The three character iso of the country                             |\r\n| ISOTwoChar            | The two character iso of the country |\r\n| IsDefault| Whether the country is default |\r\n| IsDeleted| Whether the country is deleted|"
      operationId: Country_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[ApiIntegratorCountryResource]'
components:
  schemas:
    ApiResourceResultCollection[ApiIntegratorCountryResource]:
      type: object
      properties:
        resource:
          type: array
          items:
            $ref: '#/components/schemas/ApiIntegratorCountryResource'
        extra:
          $ref: '#/components/schemas/ApiResourceResultCollectionExtra'
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'
    ApiResourceErrors:
      type: object
      properties:
        errors:
          type: string
    ApiResourceResultEntity[ApiIntegratorCountryResource]:
      type: object
      properties:
        resource:
          $ref: '#/components/schemas/ApiIntegratorCountryResource'
        links:
          $ref: '#/components/schemas/ApiResourceResultEntityLinks'
        extra:
          $ref: '#/components/schemas/ApiResourceResultEntityExtra'
        errors:
          $ref: '#/components/schemas/ApiResourceErrors'
        status:
          $ref: '#/components/schemas/ApiResourceStatus'
    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
    ApiIntegratorCountryResource:
      type: object
      properties:
        Description:
          type: string
        Abbreviation:
          type: string
        ISO3166Numeric:
          type: string
        ISOThreeChar:
          type: string
        ISOTwoChar:
          type: string
        IsDefault:
          type: boolean
        IsDeleted:
          type: boolean
        GUID:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
    ApiResourceStatus:
      type: object
      properties:
        id:
          type: integer
          format: int32
        isSuccess:
          type: boolean