AMCS Group Region API
The Region API from AMCS Group — 2 operation(s) for region.
The Region API from AMCS Group — 2 operation(s) for region.
openapi: 3.0.1
info:
title: Core AccessGroup Region API
version: core
tags:
- name: Region
paths:
/lists/regions/{guid}:
get:
tags:
- Region
summary: Find with GUID
description: "| Property | Description |\r\n| ------------------------- | ------------------------------------------------------------------------ |\r\n| GUID | The GUID associated to the region |\r\n| Description | The description of the region |\r\n| Abbreviation| The abbreviation of the region |\r\n| StateListItem | The GUID and description of the state |\r\n| CompanyOutletListItem | The GUID and description of the Company Outlet |\r\n| IsNonSpecific | Whether the region is non specific |\r\n| IsDeleted | Whether the region is deleted |\r\n"
operationId: Region_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[ApiIntegratorRegionResource]'
/lists/regions:
get:
tags:
- Region
summary: Find with Filters
description: "| Property | Description |\r\n| ------------------------- | ------------------------------------------------------------------------ |\r\n| GUID | The GUID associated to the region |\r\n| Description | The description of the region |\r\n| Abbreviation| The abbreviation of the region |\r\n| StateListItem | The GUID and description of the state |\r\n| CompanyOutletListItem | The GUID and description of the Company Outlet |\r\n| IsNonSpecific | Whether the region is non specific |\r\n| IsDeleted | Whether the region is deleted |\r\n"
operationId: Region_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[ApiIntegratorRegionResource]'
components:
schemas:
ApiIntegratorListItemResource:
type: object
properties:
Description:
type: string
Guid:
type: string
format: uuid
example: 00000000-0000-0000-0000-000000000000
ApiResourceResultCollection[ApiIntegratorRegionResource]:
type: object
properties:
resource:
type: array
items:
$ref: '#/components/schemas/ApiIntegratorRegionResource'
extra:
$ref: '#/components/schemas/ApiResourceResultCollectionExtra'
errors:
$ref: '#/components/schemas/ApiResourceErrors'
status:
$ref: '#/components/schemas/ApiResourceStatus'
ApiResourceErrors:
type: object
properties:
errors:
type: string
ApiIntegratorRegionResource:
type: object
properties:
Description:
type: string
Abbreviation:
type: string
StateListItem:
$ref: '#/components/schemas/ApiIntegratorListItemResource'
CompanyOutletListItem:
$ref: '#/components/schemas/ApiIntegratorListItemResource'
IsNonSpecific:
type: boolean
IsDeleted:
type: boolean
GUID:
type: string
format: uuid
example: 00000000-0000-0000-0000-000000000000
ApiResourceResultEntity[ApiIntegratorRegionResource]:
type: object
properties:
resource:
$ref: '#/components/schemas/ApiIntegratorRegionResource'
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
ApiResourceStatus:
type: object
properties:
id:
type: integer
format: int32
isSuccess:
type: boolean