/items

These methods allow you to create, edit, delete and get info on items.

Get list of items

GET http://pm415.com/api/items/:showarchived/:tablename/:orgid/:ownerid

Gets the list of items for the org.

Path Parameters

Name
Type
Description

:ownerid

number

The ID of the backlog

:orgid

number

The ID of the org

:tablename

string

Owner table of item (backlogs)

:showarchived

boolean

True or false

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

{
    "success": true,
    "items": [
        {
            "email": "hwyxlisjb@emlpro.com",
            "firstName": "alena",
            "lastName": "prilipko",
            "id": 50,
            "title": "hhhh",
            "statusId": 1,
            "archived": 0,
            "createdBy": 13,
            "ownerId": 19,
            "order_index": 0
        },
        {
            "email": "hwyxlisjb@emlpro.com",
            "firstName": "alena",
            "lastName": "prilipko",
            "id": 51,
            "title": "abc",
            "statusId": 1,
            "archived": 0,
            "createdBy": 13,
            "ownerId": 19,
            "order_index": 0
        },
        {
            "email": "hwyxlisjb@emlpro.com",
            "firstName": "alena",
            "lastName": "prilipko",
            "id": 52,
            "title": "abc",
            "statusId": 3,
            "archived": 0,
            "createdBy": 13,
            "ownerId": 19,
            "order_index": 2
        }
    ],
    "admin": true
}

Create new item

POST http://pm415.com/api/items/new/:orgid

Creates the item.

Path Parameters

Name
Type
Description

:orgid

number

The ID of the org

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Request Body

Name
Type
Description

object

{"ownerTable": "backlogs", "ownerId": "19", "title": "abc", "description": "Description"}

Get current item

GET http://pm415.com/api/items/:orgid/:itemid

Gets the information about the current item.

Path Parameters

Name
Type
Description

:itemid

number

The ID of the item you want to work with

:orgid

number

The ID of the org

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Updates current item

PUT http://pm415.com/api/items/edit/:orgid/:itemid

Updates the current item.

Path Parameters

Name
Type
Description

:itemid

number

The ID of the item you want to update

:orgid

number

The ID of the org

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Request Body

Name
Type
Description

object

{"statusId": "3", "order_index": "2"} or any field of item

Delete item

DELETE http://pm415.com/api/items/:orgid/:itemid

Deletes the current item.

Path Parameters

Name
Type
Description

:itemid

number

The ID of the item you want to delete

:orgid

number

The ID of the of the org.

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Get info on selected items

POST http://pm415.com/api/items/:orgid

Gets the information on the selected items.

Path Parameters

Name
Type
Description

:orgid

number

The ID of the org

Headers

Name
Type
Description

Authentication

string

Authorization: Bearer 50ca9ba0f7b1444fa55d5

Request Body

Name
Type
Description

object

{"itemsId": ["52","53"], "fullSelect": true}

Last updated

Was this helpful?