Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What are their differences and what are the similarities?

Table of Contents

Orders

In Autoflex, Orders are used for the following items

  1. Workshop =

    Werplaats

    Werkplaats

  2. Vehicle_Purchase = Auto inkoop

  3. Internal_Reversal = Credit

  4. BPM = Aanschafbelasting (bpm)

  5. Vehicle_Sales = Auto verkoop

...

OrderType

linenumbers
Code Block
true
# Get list of OrderTypes
curl -X GET "https://www.autoflex10.dev/autoflex/servoy-service/velocity/webservice_v2/util/list?list=ordertypes" -H "accept: */*" -H "token: AAAA-BBB-CCCC"

{
  "ordertypes": {
    "WORKSHOP": 1,
    "VEHICLE_PURCHASE": 3,
    "INTERNAL_REVERSAL": 4,
    "BPM": 5,
    "VEHICLE_SALES": 2
  }
}

# Get only WorkShop orders
# order_type[eq]:1
curl -X GET "https://www.autoflex10.dev/autoflex/servoy-service/velocity/webservice_v2/order?page=1&fields=is_invoiced,order_date,order_number&filter=order_type%5Beq%5D%3A1" -H "accept: application/json" -H "token: AAAA-BB-CCCCC"

Invoices

Invoices are orders that are invoice, these can not be changed, the status field on the order to indicate this is: 

...

This can be used with the filter value on the order endpoint

Invoice

title
Code Block
themeMidnight
Invoice
# filter=is_invoiced[eq]:1
curl -X GET "https://www.autoflex10.dev/autoflex/servoy-service/velocity/webservice_v2/order?page=1&fields=is_invoiced,order_date,order_number&filter=is_invoiced%5Beq%5D%3A1" -H "accept: application/json" -H "token: AAAA-BBB-CCCC"

Gerelateerde artikelenRelated articles

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@82a
sortmodified
showSpacefalse

...

reversetrue
typepage
cqllabel = "

...

autoflex10api" and type = "page" and space = "

...

AF10"
labelsbrowser edge

Page Properties
hiddentrue


Related issues