Retrieves all unavailability types

Request Information

URI Parameters :

None.

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult

user_unavailability_type
NameDescriptionTypeAdditional information
id

Primary Key

globally unique identifier
code

Field used for Embedded entity (store there your ERP PK)

string

Max length: 50

name

Name of the unavailability type

string

Required

Max length: 20

description

Long description

string

Max length: 100

sales_organization_id

FK of sales_organization. Filled if specific of one SO, empty if can be used by all

globally unique identifier
sales_organization_code

Embedded entity "sales_organization" using ERP PK when adding/updating company_type

string
sales_organization

Embedded entity "sales_organization" when adding/updating company_type

sales_organization
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "e86a8ece-31da-4769-88a9-1c82a074ad1d",
  "code": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "sales_organization_id": "edaef240-7b7b-4dcd-9f1b-db19ce9f30a1",
  "sales_organization_code": "sample string 6",
  "sales_organization": {
    "id": "eecbec71-f005-4c11-beeb-d9fdf16539c0",
    "code": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "db_country_id": "1944122d-76c5-4dcf-b6dc-19ec69e22315",
    "db_currency_id": "7d155b7c-0056-4073-aead-244e514fa625",
    "db_language_id": "acdb45f6-4fb9-4d4f-ba15-63737ce0741f",
    "accountancy_code": "sample string 8",
    "archived": true,
    "default_unit_of_measure_system_type": "sample string 10",
    "street": "sample string 11",
    "street2": "sample string 12",
    "street_number": "sample string 13",
    "zip": "sample string 14",
    "city": "sample string 15",
    "email": "sample string 16",
    "phone": "sample string 17",
    "fax": "sample string 18",
    "url": "sample string 19",
    "vat_reg_code": "sample string 20",
    "modified_dateutc": "2023-10-15T16:37:38.9158575+00:00"
  },
  "modified_dateutc": "2023-10-15T16:37:38.9158575+00:00"
}