Get Headers/Trailers

post

/config/sim/v1/setup/getheaderstrailers

Gets Headers and Trailers.

Request

Supported Media Types
Body ()
Get Request Body
Root Schema : HeadersTrailersGetRequestBody
Type: object
Show Source
  • Example: logoObjectNum
  • This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except Ext values. If 'detailed' is specified, The response contains all the properties of the object.
    Example: detailed
  • If specified, limits translated strings returned.
    Example: en-US, de-DE, es-MX
  • Number of results returned in this page. Not required if paging parameters are not supported.
    Example: 10
  • Starting resource record index. Not required if paging parameters are not supported
    Example: 2
  • Sorts the response by the specified field name and sort order.
    Example: name:asc
  • Search criteria to filter results based on field value
    Example: where equals(descriptorTypeNum, 2)
Back to Top

Response

Supported Media Types

200 Response

A collection of Header/Trailer objects of the organization
Body ()
Root Schema : HeadersTrailersGetResponse
Type: object
Show Source
Nested Schema : items
Type: array
Array of language objects of the organization.
Show Source
Nested Schema : HeadersTrailersResourceObject
Type: object
Model for Headers Trailers Object
Show Source
  • Descriptor Type Name assigned to the Header/Trailer
    Example: Check Trailer
  • Descriptor Type Number assigned to the Header/Trailer | descriptorTypeNum | descriptorTypeName | |-------------------|---------------------------------| | 1 | Customer Receipt Header | | 2 | Check Header | | 3 | Training Header | | 5 | Check Trailer | | 7 | Credit Card Header | | 8 | Credit Card Trailer | | 37 | Autofire Check Offline Header| | 46 | Waste Header | | 47 | Waste Trailer | | 52 | Report Header | | 53 | Report Trailer |
    Example: 2
  • Unique hierarchy unit reference
    Example: 6384
  • hierUnitName
    A group of string objects representing the name of the hierarchy unit configured languages
  • Object number of the hierarchy unit
    Example: 1
  • Line Number of the Header/Trailer | descriptorTypeNum | Max Number of Lines Allowed | |-------------------|---------------------------------| | 1 | 6 | | 2 | 6 | | 3 | 3 | | 5 | 12 | | 7 | 6 | | 8 | 12 | | 37 | 6 | | 46 | 3 | | 47 | 12 | | 52 | 12 | | 53 | 12 |
    Example: 1
  • logoName
    A group of string objects representing the name of the corresponding logo in multiple languages
  • Object Number of the logo.
    Example: 1
  • text
    A string that contains the text of a line in multiple languages.
  • Boolean flag for using either logoObjectNum(true) or text(false) for the specified line. Automatically set to false if value is not specified.
    Example: true
Nested Schema : hierUnitName
Type: object
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
    "en-US":"Enterprise",
    "de-DE":"Unternehmen",
    "es-MX":"Empresa"
}
Nested Schema : logoName
Type: object
A group of string objects representing the name of the corresponding logo in multiple languages
Example:
{
    "en-US":"Circle logo",
    "de-DE":"Kreis-Logo",
    "es-MX":"logotipo del c??rculo"
}
Nested Schema : text
Type: object
A string that contains the text of a line in multiple languages.
Example:
{
    "en-US":"Please visit again!",
    "de-DE":"Bitte schauen Sie noch einmal vorbei!",
    "es-MX":"Por favor visite de nuevo!"
}

400 Response

400 Bad Request
Body ()
Root Schema : ErrorDetails
Type: object
Response body when the request returns an error.
Show Source

404 Response

404 Requested resource not found
Back to Top