Skip to main content

Transfer Group Template

The Transfer Group Template API allows the user to create and use a transfer group template.

Security

jwt-bearer-token

apiKey

API Key

Name

Authorization

In

header

Endpoints

GET /transfer-group-template/schema

Summary

Get the transfer group template schema.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company that owns the document

Responses

Code

Description

Schema

200

Success

transfer_group_template_get_response_1

400

Bad request, for more information look at body error

401

Unauthorized error

403

Forbidden error

404

Not Found

422

Unprocessable error

500

Internal Server Error

POST /transfer-group-template

Summary

Create the transfer group template.

Request Parameters

In

Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company that owns the document

body

body

transfer_group_template_post_body

Yes

The JSON formatted request

Responses

Code

Description

Schema

201

Success

transfer_group_template_post_response

400

Bad request, for more information look at body error

401

Unauthorized error

403

Forbidden error

404

Not Found

422

Unprocessable error

500

Internal Server Error

GET /transfer-group-template

Summary

Get the transfer group template list.

Request Parameters

In

Field Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company that owns the document

query

$filter

string

No

A filter expression in OData v4 format

query

$top

integer

No

The maximum documents to return. For example, if top is 100, and skip is 0, the system returns documents 1 to 100.

query

$skip

integer

No

The documents to skip before returning. For example, if top is 100, and skip is 100, the system returns documents 101 to 200.

query

$select

string

No

query

$orderby

string

No

An order by expression in OData v4 format

Responses

Code

Description

Schema

200

Success

transfer_group_template_get_response_2

400

Bad request, for more information look at body error

401

Unauthorized error

403

Forbidden error

404

Not Found

422

Unprocessable error

500

Internal Server Error

PATCH /transfer-group-template/{id}

Summary

Update the transfer group template.

Request Parameters

In

Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company that owns the document

path

id

string

Yes

The transfer group's document ID from the database

body

body

transfer_group_template_patch_body

Yes

The JSON formatted request

Responses

Code

Description

Schema

204

No content

400

Bad request, for more information look at body error

401

Unauthorized error

403

Forbidden error

404

Not Found

422

Unprocessable error

500

Internal Server Error

DELETE /transfer-group-template/{id}

Summary

Delete the transfer group template by its identifier (ID).

Request Parameters

In

Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company that owns the document

path

id

string

Yes

The transfer group's document ID from the database

Responses

Code

Description

Schema

204

No content

400

Bad request, for more information look at body error

401

Unauthorized error

403

Forbidden error

404

Not Found

422

Unprocessable error

500

Internal Server Error

GET /transfer-group-template/{id}

Summary

Get the transfer group template details.

Request Parameters

In

Name

Type

Required

Description

header

X-COMPANY-ID

string

Yes

The identifier (ID) of the company that owns the document

path

id

string

Yes

The transfer group's document ID from the database

Responses

Code

Description

Schema

200

Success

transfer_group_template_get_response_3

400

Bad request, for more information look at body error

401

Unauthorized error

403

Forbidden error

404

Not Found

422

Unprocessable error

500

Internal Server Error

Data Models

transfer_group_template_get_response_1

Field Name

Type

Description

description

string

The transfer group template schema definition

transfer_group_template_post_body

Field Name

Type

Required

Description

site_id

string

Yes

The transfer from site identifier (ID)

transfer_type

string

Yes

The transfer group type.

Enum: preduringoutside

transfer_group_name

string

Yes

The transfer group name

name

string

Yes

The template name

site_ids_to

array

No

The site ID(s) of the transfer to site(s)

transfer_group_template_post_response

Field Name

Type

Description

_id

string

transfer_group_name

string

The transfer group name

entity_id

string

is_active

boolean

name

string

The transfer group's name

site_id

string

The transfer from site identifier (ID)

site_name

string

The transfer from site name

store_number

string

The transfer from store number

transfer_type

string

The transfer type

company_id

string

The user's company ID

created_at

date/time

The date of creation

created_by

string

The created by user ID

updated_at

date/time

The updated date

updated_by

string

The updated by user ID

transfer_group_template_get_response_2

Field Name

Type

Description

items

transfer_group_template_get_response_2_items

total

number

page_count

number

current_page

number

page_size

number

transfer_group_template_get_response_2_items

Field Name

Type

Description

_id

string

transfer_type

string

The transfer type

name

string

The transfer group template name

transfer_group_name

string

The transfer group name

entity_id

string

is_active

boolean

site_id

string

The transfer from site identifier (ID)

site_name

string

The transfer from site name

store_number

string

The transfer from store number

site_ids_to

array

The site ID(s) of the transfer to site(s)

company_id

string

The user's company ID

created_at

date/time

The date of creation

created_by

string

The created by user ID

updated_at

date/time

The updated date

updated_by

string

The updated by user ID

transfer_group_template_patch_body

Field Name

Type

Description

event_id

string

site_id

string

The transfer from site identifier (ID)

transfer_type

string

The transfer group's type.

Enum: preduringoutside

transfer_group_name

string

name

string

The transfer group template name

transfer_group_template_get_response_3

Field Name

Type

Description

_id

string

transfer_type

string

The transfer type

name

string

The transfer group template name

transfer_group_name

string

The transfer group name

entity_id

string

site_id

string

The transfer from site identifier (ID)

site_name

string

The transfer from site name

store_number

string

The transfer from store number

site_ids_to

array

The site ID(s) of the transfer to site(s)

company_id

string

The user's company ID

created_at

date/time

The date of creation

created_by

string

The created by user ID

updated_at

date/time

The updated date

updated_by

string

The updated by user ID