GET api/StockCard/{id}

Fast method to get Stock Card by id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ApiStockCardOutput
NameDescriptionTypeAdditional information
id

integer

None.

number

string

None.

name

string

None.

price

decimal number

None.

purchase

decimal number

None.

id_stock_card_folder

integer

None.

unit

string

None.

is_deleted

boolean

None.

vat_value

decimal number

None.

current_amount

decimal number

None.

outer_id

string

None.

customMasterFields

ApiMasterFields

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "number": "sample string 2",
  "name": "sample string 3",
  "price": 4.0,
  "purchase": 5.0,
  "id_stock_card_folder": 1,
  "unit": "sample string 6",
  "is_deleted": true,
  "vat_value": 8.0,
  "current_amount": 9.0,
  "outer_id": "sample string 10",
  "customMasterFields": {
    "_fields": [
      {
        "_custom_field": {
          "id": 1,
          "number": 2,
          "name": "sample string 3",
          "type": 4,
          "show": true,
          "description": "sample string 6",
          "is_required": true,
          "is_main": true,
          "is_deleted": true
        },
        "_field_data_id": 1,
        "_integer_data": 1,
        "_text_data": "sample string 2",
        "_datetime_data": "2024-11-16T04:38:16.572511+00:00",
        "_bit_data": true,
        "_floating_data": 1.1,
        "_custom_field_address": [
          {
            "address": {
              "id": 1,
              "street_number": "sample string 2",
              "route": "sample string 3",
              "locality": "sample string 4",
              "aal1": "sample string 5",
              "aal2": "sample string 6",
              "country": "sample string 7",
              "postal_code": "sample string 8",
              "is_main": true,
              "is_default_billing": true,
              "is_default_delivery": true,
              "full_address": "sample string 12",
              "comment": "sample string 13",
              "verification": true,
              "is_subscribed": true
            },
            "json": "sample string 1",
            "is_mark_delete": true
          },
          {
            "address": {
              "id": 1,
              "street_number": "sample string 2",
              "route": "sample string 3",
              "locality": "sample string 4",
              "aal1": "sample string 5",
              "aal2": "sample string 6",
              "country": "sample string 7",
              "postal_code": "sample string 8",
              "is_main": true,
              "is_default_billing": true,
              "is_default_delivery": true,
              "full_address": "sample string 12",
              "comment": "sample string 13",
              "verification": true,
              "is_subscribed": true
            },
            "json": "sample string 1",
            "is_mark_delete": true
          }
        ],
        "_custom_field_url": [
          {
            "Main": {
              "id": 1,
              "url": "sample string 2",
              "name": "sample string 3"
            },
            "is_mark_delete": true
          },
          {
            "Main": {
              "id": 1,
              "url": "sample string 2",
              "name": "sample string 3"
            },
            "is_mark_delete": true
          }
        ],
        "_custom_field_phone": [
          {
            "Main": {
              "id": 1,
              "phone": "sample string 2",
              "name": "sample string 3"
            },
            "is_mark_delete": true
          },
          {
            "Main": {
              "id": 1,
              "phone": "sample string 2",
              "name": "sample string 3"
            },
            "is_mark_delete": true
          }
        ],
        "_custom_field_checklist_item": [
          {
            "checkListItem": {
              "id": 1,
              "name": "sample string 2",
              "is_complete": true,
              "created_date": "2024-11-16T04:38:16.572511+00:00",
              "due_date": "2024-11-16T04:38:16.572511+00:00",
              "complete_date": "2024-11-16T04:38:16.572511+00:00"
            },
            "is_mark_delete": true
          },
          {
            "checkListItem": {
              "id": 1,
              "name": "sample string 2",
              "is_complete": true,
              "created_date": "2024-11-16T04:38:16.572511+00:00",
              "due_date": "2024-11-16T04:38:16.572511+00:00",
              "complete_date": "2024-11-16T04:38:16.572511+00:00"
            },
            "is_mark_delete": true
          }
        ]
      },
      {
        "_custom_field": {
          "id": 1,
          "number": 2,
          "name": "sample string 3",
          "type": 4,
          "show": true,
          "description": "sample string 6",
          "is_required": true,
          "is_main": true,
          "is_deleted": true
        },
        "_field_data_id": 1,
        "_integer_data": 1,
        "_text_data": "sample string 2",
        "_datetime_data": "2024-11-16T04:38:16.572511+00:00",
        "_bit_data": true,
        "_floating_data": 1.1,
        "_custom_field_address": [
          {
            "address": {
              "id": 1,
              "street_number": "sample string 2",
              "route": "sample string 3",
              "locality": "sample string 4",
              "aal1": "sample string 5",
              "aal2": "sample string 6",
              "country": "sample string 7",
              "postal_code": "sample string 8",
              "is_main": true,
              "is_default_billing": true,
              "is_default_delivery": true,
              "full_address": "sample string 12",
              "comment": "sample string 13",
              "verification": true,
              "is_subscribed": true
            },
            "json": "sample string 1",
            "is_mark_delete": true
          },
          {
            "address": {
              "id": 1,
              "street_number": "sample string 2",
              "route": "sample string 3",
              "locality": "sample string 4",
              "aal1": "sample string 5",
              "aal2": "sample string 6",
              "country": "sample string 7",
              "postal_code": "sample string 8",
              "is_main": true,
              "is_default_billing": true,
              "is_default_delivery": true,
              "full_address": "sample string 12",
              "comment": "sample string 13",
              "verification": true,
              "is_subscribed": true
            },
            "json": "sample string 1",
            "is_mark_delete": true
          }
        ],
        "_custom_field_url": [
          {
            "Main": {
              "id": 1,
              "url": "sample string 2",
              "name": "sample string 3"
            },
            "is_mark_delete": true
          },
          {
            "Main": {
              "id": 1,
              "url": "sample string 2",
              "name": "sample string 3"
            },
            "is_mark_delete": true
          }
        ],
        "_custom_field_phone": [
          {
            "Main": {
              "id": 1,
              "phone": "sample string 2",
              "name": "sample string 3"
            },
            "is_mark_delete": true
          },
          {
            "Main": {
              "id": 1,
              "phone": "sample string 2",
              "name": "sample string 3"
            },
            "is_mark_delete": true
          }
        ],
        "_custom_field_checklist_item": [
          {
            "checkListItem": {
              "id": 1,
              "name": "sample string 2",
              "is_complete": true,
              "created_date": "2024-11-16T04:38:16.572511+00:00",
              "due_date": "2024-11-16T04:38:16.572511+00:00",
              "complete_date": "2024-11-16T04:38:16.572511+00:00"
            },
            "is_mark_delete": true
          },
          {
            "checkListItem": {
              "id": 1,
              "name": "sample string 2",
              "is_complete": true,
              "created_date": "2024-11-16T04:38:16.572511+00:00",
              "due_date": "2024-11-16T04:38:16.572511+00:00",
              "complete_date": "2024-11-16T04:38:16.572511+00:00"
            },
            "is_mark_delete": true
          }
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ApiStockCardOutput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <id>1</id>
  <number>sample string 2</number>
  <name>sample string 3</name>
  <price>4</price>
  <purchase>5</purchase>
  <id_stock_card_folder>1</id_stock_card_folder>
  <unit>sample string 6</unit>
  <is_deleted>true</is_deleted>
  <vat_value>8</vat_value>
  <current_amount>9</current_amount>
  <outer_id>sample string 10</outer_id>
  <customMasterFields>
    <_fields>
      <ApiCompanyCustomDataPOST>
        <_custom_field>
          <id>1</id>
          <number>2</number>
          <name>sample string 3</name>
          <type>4</type>
          <show>true</show>
          <description>sample string 6</description>
          <is_required>true</is_required>
          <is_main>true</is_main>
          <is_deleted>true</is_deleted>
        </_custom_field>
        <_field_data_id>1</_field_data_id>
        <_integer_data>1</_integer_data>
        <_text_data>sample string 2</_text_data>
        <_datetime_data>2024-11-16T04:38:16.572511+00:00</_datetime_data>
        <_bit_data>true</_bit_data>
        <_floating_data>1.1</_floating_data>
        <_custom_field_address>
          <ApiCompanyCustomDataGoogleAddressPOST>
            <address>
              <id>1</id>
              <street_number>sample string 2</street_number>
              <route>sample string 3</route>
              <locality>sample string 4</locality>
              <aal1>sample string 5</aal1>
              <aal2>sample string 6</aal2>
              <country>sample string 7</country>
              <postal_code>sample string 8</postal_code>
              <is_main>true</is_main>
              <is_default_billing>true</is_default_billing>
              <is_default_delivery>true</is_default_delivery>
              <full_address>sample string 12</full_address>
              <comment>sample string 13</comment>
              <verification>true</verification>
              <is_subscribed>true</is_subscribed>
            </address>
            <json>sample string 1</json>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataGoogleAddressPOST>
          <ApiCompanyCustomDataGoogleAddressPOST>
            <address>
              <id>1</id>
              <street_number>sample string 2</street_number>
              <route>sample string 3</route>
              <locality>sample string 4</locality>
              <aal1>sample string 5</aal1>
              <aal2>sample string 6</aal2>
              <country>sample string 7</country>
              <postal_code>sample string 8</postal_code>
              <is_main>true</is_main>
              <is_default_billing>true</is_default_billing>
              <is_default_delivery>true</is_default_delivery>
              <full_address>sample string 12</full_address>
              <comment>sample string 13</comment>
              <verification>true</verification>
              <is_subscribed>true</is_subscribed>
            </address>
            <json>sample string 1</json>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataGoogleAddressPOST>
        </_custom_field_address>
        <_custom_field_url>
          <ApiCompanyCustomDataUrlPOST>
            <Main>
              <id>1</id>
              <url>sample string 2</url>
              <name>sample string 3</name>
            </Main>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataUrlPOST>
          <ApiCompanyCustomDataUrlPOST>
            <Main>
              <id>1</id>
              <url>sample string 2</url>
              <name>sample string 3</name>
            </Main>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataUrlPOST>
        </_custom_field_url>
        <_custom_field_phone>
          <ApiCompanyCustomDataPhonePOST>
            <Main>
              <id>1</id>
              <phone>sample string 2</phone>
              <name>sample string 3</name>
            </Main>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataPhonePOST>
          <ApiCompanyCustomDataPhonePOST>
            <Main>
              <id>1</id>
              <phone>sample string 2</phone>
              <name>sample string 3</name>
            </Main>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataPhonePOST>
        </_custom_field_phone>
        <_custom_field_checklist_item>
          <ApiCompanyCustomDataCheckListItemPOST>
            <checkListItem>
              <id>1</id>
              <name>sample string 2</name>
              <is_complete>true</is_complete>
              <created_date>2024-11-16T04:38:16.572511+00:00</created_date>
              <due_date>2024-11-16T04:38:16.572511+00:00</due_date>
              <complete_date>2024-11-16T04:38:16.572511+00:00</complete_date>
            </checkListItem>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataCheckListItemPOST>
          <ApiCompanyCustomDataCheckListItemPOST>
            <checkListItem>
              <id>1</id>
              <name>sample string 2</name>
              <is_complete>true</is_complete>
              <created_date>2024-11-16T04:38:16.572511+00:00</created_date>
              <due_date>2024-11-16T04:38:16.572511+00:00</due_date>
              <complete_date>2024-11-16T04:38:16.572511+00:00</complete_date>
            </checkListItem>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataCheckListItemPOST>
        </_custom_field_checklist_item>
      </ApiCompanyCustomDataPOST>
      <ApiCompanyCustomDataPOST>
        <_custom_field>
          <id>1</id>
          <number>2</number>
          <name>sample string 3</name>
          <type>4</type>
          <show>true</show>
          <description>sample string 6</description>
          <is_required>true</is_required>
          <is_main>true</is_main>
          <is_deleted>true</is_deleted>
        </_custom_field>
        <_field_data_id>1</_field_data_id>
        <_integer_data>1</_integer_data>
        <_text_data>sample string 2</_text_data>
        <_datetime_data>2024-11-16T04:38:16.572511+00:00</_datetime_data>
        <_bit_data>true</_bit_data>
        <_floating_data>1.1</_floating_data>
        <_custom_field_address>
          <ApiCompanyCustomDataGoogleAddressPOST>
            <address>
              <id>1</id>
              <street_number>sample string 2</street_number>
              <route>sample string 3</route>
              <locality>sample string 4</locality>
              <aal1>sample string 5</aal1>
              <aal2>sample string 6</aal2>
              <country>sample string 7</country>
              <postal_code>sample string 8</postal_code>
              <is_main>true</is_main>
              <is_default_billing>true</is_default_billing>
              <is_default_delivery>true</is_default_delivery>
              <full_address>sample string 12</full_address>
              <comment>sample string 13</comment>
              <verification>true</verification>
              <is_subscribed>true</is_subscribed>
            </address>
            <json>sample string 1</json>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataGoogleAddressPOST>
          <ApiCompanyCustomDataGoogleAddressPOST>
            <address>
              <id>1</id>
              <street_number>sample string 2</street_number>
              <route>sample string 3</route>
              <locality>sample string 4</locality>
              <aal1>sample string 5</aal1>
              <aal2>sample string 6</aal2>
              <country>sample string 7</country>
              <postal_code>sample string 8</postal_code>
              <is_main>true</is_main>
              <is_default_billing>true</is_default_billing>
              <is_default_delivery>true</is_default_delivery>
              <full_address>sample string 12</full_address>
              <comment>sample string 13</comment>
              <verification>true</verification>
              <is_subscribed>true</is_subscribed>
            </address>
            <json>sample string 1</json>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataGoogleAddressPOST>
        </_custom_field_address>
        <_custom_field_url>
          <ApiCompanyCustomDataUrlPOST>
            <Main>
              <id>1</id>
              <url>sample string 2</url>
              <name>sample string 3</name>
            </Main>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataUrlPOST>
          <ApiCompanyCustomDataUrlPOST>
            <Main>
              <id>1</id>
              <url>sample string 2</url>
              <name>sample string 3</name>
            </Main>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataUrlPOST>
        </_custom_field_url>
        <_custom_field_phone>
          <ApiCompanyCustomDataPhonePOST>
            <Main>
              <id>1</id>
              <phone>sample string 2</phone>
              <name>sample string 3</name>
            </Main>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataPhonePOST>
          <ApiCompanyCustomDataPhonePOST>
            <Main>
              <id>1</id>
              <phone>sample string 2</phone>
              <name>sample string 3</name>
            </Main>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataPhonePOST>
        </_custom_field_phone>
        <_custom_field_checklist_item>
          <ApiCompanyCustomDataCheckListItemPOST>
            <checkListItem>
              <id>1</id>
              <name>sample string 2</name>
              <is_complete>true</is_complete>
              <created_date>2024-11-16T04:38:16.572511+00:00</created_date>
              <due_date>2024-11-16T04:38:16.572511+00:00</due_date>
              <complete_date>2024-11-16T04:38:16.572511+00:00</complete_date>
            </checkListItem>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataCheckListItemPOST>
          <ApiCompanyCustomDataCheckListItemPOST>
            <checkListItem>
              <id>1</id>
              <name>sample string 2</name>
              <is_complete>true</is_complete>
              <created_date>2024-11-16T04:38:16.572511+00:00</created_date>
              <due_date>2024-11-16T04:38:16.572511+00:00</due_date>
              <complete_date>2024-11-16T04:38:16.572511+00:00</complete_date>
            </checkListItem>
            <is_mark_delete>true</is_mark_delete>
          </ApiCompanyCustomDataCheckListItemPOST>
        </_custom_field_checklist_item>
      </ApiCompanyCustomDataPOST>
    </_fields>
  </customMasterFields>
</ApiStockCardOutput>