Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel2

...

Name

Type

Description

token

String

The token retrieved from the login method

warehouse_identifier

(mandatory)

Warehouse identifier

The warehouse in which the items will be added into. The allowed warehouse identifier fields are the following:

Include Page
V4:warehouse_identifier
V4:warehouse_identifier

life_cycle_state

(mandatory)

String

 The stated of the transaction which can be DRAFT or POSTED

batch_number

(optional)

StringA reference number which is entered to keep track of the warehouse transaction source

supplier_identifier

(optional)

Contact information identifierThe supplier of the items to be added. Suppliers refer to contact information. The allowed contact information identifier fields are the following:

Include Page
V4:contact_information_identifier
V4:contact_information_identifier

description

(optional)

StringA description for the warehouse transaction to be created

udf_string_1

(optional)

String

User Defined Field of type String

udf_string_2

(optional)

String

User Defined Field of type String

udf_string_3

(optional)

String

User Defined Field of type String

udf_string_4

(optional)

String

User Defined Field of type String

udf_float_1

(optional)

Float

User Defined Field of type Float

udf_float_2

(optional)

Float

User Defined Field of type Float

udf_float_3

(optional)

Float

User Defined Field of type Float

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_float_5

(optional)

Float

User Defined Field of type Float

udf_float_6

(optional)

Float

User Defined Field of type Float

udf_float_7

(optional)

Float

User Defined Field of type Float

udf_float_8

(optional)

Float

User Defined Field of type Float

udf_date_1

(optional)

Date

User Defined Field of type Date

udf_date_2

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date

items_setA set of stock in items objectsThe items that should be added in the warehouse through this stock in transaction.

...

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token":"47995B93A94E35C992956091325A3D92",
    "warehouse_identifier":{"name":"Central Warehouse"},
    "life_cycle_state":"DRAFT",
     "supplier_identifier":{"id_number":"984783"},
    "description":"Stock in transaction of a broken TV to the Central Warehouse",
    "items_set":
    [
        {
            "installed_item_identifier":{"serial_number":"T1M001000000001"},
        "alternative_code":"T1M001000000001",
            "unit_cost":80
        },
        {
            "installed_itemproduct_identifier":{"code":"Universal Remote Controls"},
            "quantity":50
 {       }
    ]  
}


Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
     "serial_number":"MODEM0019",
 "status":
    {
        "message": null,
        "product_identifierdescription":{"code":"Modem"} null,
            "alternative_code": "MODEM0019OK"
    },
    "data":
      },
  {
         "unitlife_cycle_coststate":50 "DRAFT",
       }, "number": "336",
      {             "product_identifier"id":{ "code":"Universal Remote Controls"}C8D9AECE85C160AEB18B6FE0148A12FF",
            "quantity"batch_number":50   null
     }
    ]  
}

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "life_cycle_state": "DRAFT",
        "number": "336",
        "id": "C8D9AECE85C160AEB18B6FE0148A12FF",
        "batch_number": null
    }
}

 

POST warehouse_transactions/stock_out

This method is creating a new stock out warehouse transaction

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

warehouse_identifier

(mandatory)

...

Warehouse identifier

The warehouse from which the items will be removed from. The allowed warehouse identifier fields are the following:

...

life_cycle_state

(mandatory)

...

String

...

batch_number

(optional)

...

description

(optional)

...

 

POST warehouse_transactions/stock_out

This method is creating a new stock out warehouse transaction

Resource URL

Parameters

string2String Stringstring3String Stringstring4String String678

Name

Type

Description

token

String

The token retrieved from the login method

warehouse_identifier

(mandatory)

Warehouse identifier

The warehouse from which the items will be removed from. The allowed warehouse identifier fields are the following:

Include Page
V4:warehouse_identifier
V4:warehouse_identifier

life_cycle_state

(mandatory)

String

 The stated of the transaction which can be DRAFT or POSTED

batch_number

(optional)

StringA reference number which is entered to keep track of the warehouse transaction source

description

(optional)

StringA description for the warehouse transaction to be created

udf_string_1

(optional)

String

User Defined Field of type String

udf_string_2

(optional)

String

User Defined Field of type String

udf_string_3

(optional)

String

User Defined Field of type String

udf_string_4

(optional)

String

User Defined Field of type String

udf_

float_

5

(optional)

Float

User Defined Field of type

Float

udf_

float_

6

(optional)

Float

User Defined Field of type

Float

udf_

float_

7

(optional)

Float

User Defined Field of type

Float

udf_float_58

(optional)

Float

User Defined Field of type Float

udf_float_

1

(optional)

Float

User Defined Field of type Float

udf_float_

2

(optional)

Float

User Defined Field of type Float

udf_float_

3

(optional)

Float

User Defined Field of type Float

udf_float_14

(optional)

Float

User Defined Field of type Float

udf_floatdate_21

(optional)

FloatDate

User Defined Field of type FloatDate

udf_floatdate_32

(optional)

FloatDate

User Defined Field of type FloatDate

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_date_1

(optional)

Date

User Defined Field of type Date

udf_date_2

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date

items_setA set of stock out items objectsThe items that should be removed from the warehouse through this stock out transaction.

...

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token":"9A30B8EAB0A28E012329162912CC0736",
    "warehouse_identifier":{"name":"Central Warehouse"},
    "life_cycle_state":"DRAFT",
    "supplier_identifier":{"id_number":"984783"},
    "description":"Stock out transaction of a broken TV from  "token":"9A30B8EAB0A28E012329162912CC0736Central Warehouse",
    "warehouseitems_identifierset":{"name":"Central Warehouse"},
    [
        {
            "lifeinstalled_cycleitem_stateidentifier":"POSTED",
    "batch{"serial_number":"BN89102911T1M001000000001",
    "items_set":},
    [    "alternative_code":"T1M001000000001",
     {       "unit_cost":80
     "installed_item_identifier": { "serial_number":"MOD0091" },
        },{
            "product_identifier":{"code":"Universal Remote Controls"},
            "quantity":5750
        }
    ]   
}


Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "life_cycle_state": "POSTED",
        "number": "291",
        "id": "BDDB284AD8E12E9753D838C126F33D70",
        "batch_number": "bn00090221"
    }
}

...

Name

Type

Description

token

String

The token retrieved from the login method

from_warehouse_identifier

(mandatory)

Warehouse identifier

The warehouse from which the items will be removed from. The allowed warehouse identifier fields are the following:

Include Page
V4:warehouse_identifier
V4:warehouse_identifier

to_warehouse_identifier

(mandatory)

Warehouse identifier

The warehouse in which the items will be added into. The allowed warehouse identifier fields are the following:

Include Page
V4:warehouse_identifier
V4:warehouse_identifier

life_cycle_state

(mandatory)

String

 The stated of the transaction which can be DRAFT or POSTED

batch_number

(optional)

StringA reference number which is entered to keep track of the warehouse transaction source

description

(optional)

StringA description for the warehouse transaction to be created

udf_string_1

(optional)

String

User Defined Field of type String

udf_string_2

(optional)

String

User Defined Field of type String

udf_string_3

(optional)

String

User Defined Field of type String

udf_string_4

(optional)

String

User Defined Field of type String

udf_float_5

(optional)

Float

User Defined Field of type Float

udf_float_6

(optional)

Float

User Defined Field of type Float

udf_float_7

(optional)

Float

User Defined Field of type Float

udf_float_8

(optional)

Float

User Defined Field of type Float

udf_float_1

(optional)

Float

User Defined Field of type Float

udf_float_2

(optional)

Float

User Defined Field of type Float

udf_float_3

(optional)

Float

User Defined Field of type Float

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_date_1

(optional)

Date

User Defined Field of type Date

udf_date_2

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date

items_setA set of stock movement items objectsThe items that should be moved from one warehouse to another through this stock movement transaction.

...

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
    "token":"6FC91FE36F81476D70D0A335094DCFBF17C740BDB131F9709BD8BD605DCC0373",
    "from_warehouse_identifier":{"name":"Central WarehouseInstallation Group-WHS New Items"},
    "to_warehouse_identifier":{"name":"Main Warehouse"},
    "life_cycle_state":"POSTED"Sales Branch 1 - WHS New Items"},
    "batchlife_cycle_numberstate":"BNSTOCKOUT009POSTED",
    "items_set":
    [
         {
            "installed_item_identifier": { "serial_number":"SMC001-EN" }
        },{
            "product_identifier":{"code":"Universal Remote Controls"},cv2000000001" }
            "quantity":5
        }
    ]   
}


Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "status": {
    "message": null,
    "description": null,
    "code": "OK"
  },
  "data": {
    "life_cycle_state": "POSTED",
    "number": "341",
    "id": "0315BF181670C8A00E014058D12FC0C0",
    "batch_number": "BNSTOCKOUT009"
  }
}

...