Label in Fledge: Opdrachtbevestigingsregel verkoop
| URL | https://odata-api.fledge.nl/v2-8/SalesOrderConfirmationLines |
|---|---|
| Key | administration_idsales_order_confirmation_header_idsales_order_confirmation_line_idsales_order_header_id |
| Administration | Rows belong to one administration: always filter on administration_id. |
| Operations | GET listGET onePOSTPATCHDELETE |
| Read licenses | BASIS |
| Write licenses | VERKOOPBEHEER |
| Scopes | FLEDGE_PORTAL |
Example requests
A page of rows, with only the fields you need. See Authentication for the token.
curl -G "https://odata-api.fledge.nl/v2-8/SalesOrderConfirmationLines" \
--data-urlencode '$filter=administration_id eq 1' \
--data-urlencode '$select=sales_order_confirmation_header_id,sales_order_confirmation_line_id,sales_order_header_id,confirmed_date_shift_reason,confirmed_delivery_date,confirmed_delivery_date_confirmed_on' \
--data-urlencode '$top=50' \
-H "Authorization: Bearer $TOKEN"const url = new URL('https://odata-api.fledge.nl/v2-8/SalesOrderConfirmationLines');
url.searchParams.set('$filter', 'administration_id eq 1');
url.searchParams.set('$select', 'sales_order_confirmation_header_id,sales_order_confirmation_line_id,sales_order_header_id,confirmed_date_shift_reason,confirmed_delivery_date,confirmed_delivery_date_confirmed_on');
url.searchParams.set('$top', '50');
const response = await fetch(url, { headers: { Authorization: `Bearer ${token}` } });
const { value } = await response.json();var url = "https://odata-api.fledge.nl/v2-8/SalesOrderConfirmationLines" + "?" + string.Join("&",
"$filter=" + Uri.EscapeDataString("administration_id eq 1"),
"$select=" + Uri.EscapeDataString("sales_order_confirmation_header_id,sales_order_confirmation_line_id,sales_order_header_id,confirmed_date_shift_reason,confirmed_delivery_date,confirmed_delivery_date_confirmed_on"),
"$top=" + Uri.EscapeDataString("50"));
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token);
var json = await http.GetStringAsync(url);One row by its key:
GET https://odata-api.fledge.nl/v2-8/SalesOrderConfirmationLines(administration_id=1,sales_order_confirmation_header_id={sales_order_confirmation_header_id},sales_order_confirmation_line_id={sales_order_confirmation_line_id},sales_order_header_id='{sales_order_header_id}')Fields
| Field | Type | Description |
|---|---|---|
administration_idkey | Int32 | Administratienummer |
sales_order_confirmation_header_idkey | Int32 | Volgnummer opdrachtbevestiging |
sales_order_confirmation_line_idkey | Int32 | Volgnummer opdrachtbevestiging |
sales_order_header_idkey | String | Verkoopordernummer |
article_id | String | Artikelcode |
calculation_unit_factor | Decimal | Factor eenheid calculatie. |
calculation_unit_operator | String | Operator eenheid calculatie. |
confirmed_date_shift_reason | String | Reden verschuiving |
confirmed_delivery_date | Date | Bevestigde leverdatum |
confirmed_delivery_date_confirmed_on | Date | Leverdatum bevestigd op |
creation_date | Date | Datum aanmaak |
creation_user | Int32 | User aanmaak |
description_1 | String | Omschrijving |
description_2 | String | Omschrijving |
description_3 | String | Omschrijving |
discount_percentage_1 | Decimal | Kortingspercentage 1 |
drawing_number | String | Tekeningnummer |
function | Int32 | Funktie regel |
is_based_on_pre_or_post_calculation | Boolean | VC/NC prijs: Prijs op basis van VC of NC |
is_confirmed | Boolean | Bevestigd ja/nee |
memo | String | Memo |
memo_delivery_note | String | Memo (pakbon) |
memo_invoice | String | Memo 1 (faktuur) |
order_date | Date | Datum order |
planning_date | Date | Datum planning |
quantity_ordered | Decimal | Aantal besteld |
reference | String | Referentie verkooporderregel |
revision | String | Revisie |
rubric_vat_revenue | String | Rubriek BTW omzet aangifte |
sales_order_line_id | Int32 | Regelnummer |
sales_price_foreign_currency_gross | Decimal | Verkoopprijs vv |
sales_price_foreign_currency_net | Decimal | Verkoopprijs netto: Verkoopprijs vv netto |
sales_price_local_currency_gross | Decimal | Verkoopprijs lv |
sales_price_local_currency_net | Decimal | Verkooprpijs netto: Verkoopprijs lv netto |
sales_quotation_header_id | String | Offertenummer |
sales_quotation_line_id | Int32 | Regelnummer |
sales_unit_description | String | Omschrijving |
sales_unit_factor | Decimal | Eenheid verkoop factor |
sales_unit_operator | String | Eenheid verkoop operator |
sequence | Int32 | Volgorde |
vat_code_id | Int32 | BTW nummer |
vat_percentage | Decimal | BTW perc%: BTW percentage |
Relations
Read a related row or list in the same request with $expand, and give it its own $select; a list also needs a $top.
| Navigation | Entity set | |
|---|---|---|
Administration | Administrations | one |
Article | Articles | one |
SalesOrderConfirmationHeader | SalesOrderConfirmationHeaders | one |
SalesOrderHeader | SalesOrderHeaders | one |
SalesQuotationHeader | SalesQuotationHeaders | one |
SalesQuotationLine | SalesQuotationLines | one |