13. Document Type

Interface

It allows you:

  • to get the Document Type list to use when creating documents:

      • Sales Order

      • Internal Use Inventory

      • Internal Material Receipt

Columns that can be used as filters:

  • Organization

    • DocumentBaseType (mandatory) - select one of the available names:

      • Sales Order

      • Material Physical Inventory

      • Purchase Order

      • Purchase Order Services

      • Purchase Requisition

    • Time Expense

    • Active

Actions can be done:

  • list

API Methods:

List:

URL: https://api.socratecloud.com/webapi/rest/document/type/list/{version}?startRow={0}&endRow={100}&accessToken={access_token}&DocumentBaseType={name}

Method: GET

Return: JSON object with next format:

}

{

"data": [

{

"Organization": "*",

"Created": "2009-05-18 00:00:00+0300",

"CreatedBy": "System",

"Updated": "2013-01-18 00:00:00+0200",

"UpdatedBy": "System",

"Active": true,

"Name": "Bon primire",

"Description": "Bon primire ",

"DocumentBaseType": "MMI",

"MMISubType": "IR"

}

],

"totalRows": 1