Terug naar website
Je bevindt je momenteel in de helpsectie van onze software, met antwoorden op veelgestelde vragen, handleidingen en hulp bij problemen. Voor volledige toegang tot onze nieuwe website, inclusief al onze producten en diensten, kun je hier klikken om naar de hoofdpagina te gaan.

customerOrder

Geeft de gegevens van een orderbevestiging aan de hand van het ordernummer.

Applicaties

Apps, externe applicaties

Aanroep

GET

Parameters

http[s]://<url>:<poort>/odapi/rest/TMethods/customerOrder/[key]/104458/json

Naam
Type
Omschrijving
key
Tekst
Sessiesleutel
number
Tekst
Ordernummer
format
json | html
Uitvoerformaat

Query parameters

Geen

Meldingen

Foutcode
Omschrijving
9263
Ongeldig ordernummer of orderbevestiging niet gevonden

Voorbeeld

{

    "data": {

        "customer order": {

            "number": "104458",

            "date": "20200221",

            "dateString": "Vrijdag 21 februari",

            "totalExcludingVat": 7500,

            "totalIncludingVat": 9075,

            "subject": "Orderbevestiging Order-Direct",

            "delivery": {

                "hasDate": false,

                "period": "In overleg"

            },

            "orderStatus": {

                "id": 0,

                "name": "Geen"

            },

            "department": {

                "index": 1,

                "code": "O",

                "name": "Order-Direct"

            },

            "employee": {

                "id": 2,

                "name": "Johan van de Broek"

            },

            "branch": {

                "id": 0,

                "code": "ALM",

                "name": "Magazijn"

            },

            "relation": {

                "number": "26348",

                "shortName": "Verhezen",

                "cocNumber": "74132660",

                "homepage": "www.verhezen.nl",

                "relationship": {

                    "types": [

                        "customer"

                    ],

                    "customerDepartments": [

                        {

                            "department": {

                                "index": 1,

                                "code": "O",

                                "name": "Order-Direct"

                            }

                        }

                    ]

                },

                "currency": {

                    "id": 1,

                    "name": "EUR"

                },

                "language": {

                    "id": 1,

                    "code": "nl",

                    "name": "Nederlands"

                },

                "region": {

                    "id": 0,

                    "name": "geen"

                },

                "email": {

                    "address": "info@verhezen.nl",

                    "html": true,

                    "synchronize": true,

                    "store": true

                },

                "customerPayments": {

                    "period": 14

                },

                "collectionOrders": {

                    "period": 14,

                    "type": 1,

                    "typeName": "Algemeen",

                    "signed": "20200211",

                    "signedString": "Dinsdag 11 februari",

                    "first": true

                },

                "priceAgreements": {

                    "apply": true

                },

                "active": true,

                "columnPricesOrders": true,

                "reminders": {

                    "sendByEmail": false,

                    "sendToAccountsPayable": true

                },

                "employee": {

                    "name": "Reinoud Berg"

                },

                "created": "20200211",

                "modified": "20200221",

                "addresses": [

                    {

                        "address": {

                            "owner": "relation",

                            "number": "26348",

                            "id": 1,

                            "index": 1,

                            "description": "Standaard adres",

                            "type": "office",

                            "name": "Verhezen",

                            "street": "Kortevoortsebos 3",

                            "postalCode": "5490 LB",

                            "city": "Lienden",

                            "countryCode": "NL",

                            "countryName": "Nederland",

                            "telephone": "(0412) 62 13 44",

                            "kix": "5490LB3",

                            "latitude": 51.5554211,

                            "longitude": 5.3193543

                        }

                    },

                    {

                        "address": {

                            "owner": "relation",

                            "number": "26348",

                            "id": 2,

                            "index": 2,

                            "description": "Factuuradres",

                            "type": "office",

                            "name": "Verhezen",

                            "street": "Kortevoortsebos 3",

                            "postalCode": "5490 LB",

                            "city": "Lienden",

                            "countryCode": "NL",

                            "countryName": "Nederland",

                            "telephone": "(0412) 62 13 44",

                            "kix": "5490LB3",

                            "latitude": 51.5554713,

                            "longitude": 5.3193543

                        }

                    }

                ]

            },

            "address": {

                "owner": "relation",

                "number": "26348",

                "id": 1,

                "index": 1,

                "description": "Standaard adres",

                "type": "office",

                "name": "Verhezen",

                "street": "Kortevoortsebos 3",

                "postalCode": "5490 LB",

                "city": "Lienden",

                "countryCode": "NL",

                "countryName": "Nederland",

                "telephone": "(0412) 62 13 44",

                "kix": "5490LB3",

                "latitude": 51.1284313,

                "longitude": 5.3323513

            },

            "attn": {

                "name": "Roger Verhezen"

            },

            "lines": [

                {

                    "line": {

                        "remark": "Order-Direct Standaarduitvoering (2 gebruikers):"

                    }

                },

                {

                    "line": {

                        "id": 1,

                        "quantity": 1,

                        "product": {

                            "code": "100-000",

                            "description": "Order-Direct - Standaarduitvoering Single-user"

                        }

                    }

                },

                {

                    "line": {

                        "id": 2,

                        "quantity": 1,

                        "product": {

                            "code": "110-000",

                            "description": "Order-Direct - Standaarduitvoering meerprijs per gebruiker"

                        }

                    }

                },

                {

                    "line": {

                        "remark": "Order-Direct - Aanvullende modules:"

                    }

                },

                {

                    "line": {

                        "id": 3,

                        "quantity": 1,

                        "product": {

                            "code": "150-270",

                            "description": "Order-Direct - Module CRM"

                        }

                    }

                },

                {

                    "line": {

                        "id": 4,

                        "quantity": 1,

                        "product": {

                            "code": "150-020",

                            "description": "Order-Direct - Module Machines en onderhoud"

                        }

                    }

                },

                {

                    "line": {

                        "id": 5,

                        "quantity": 1,

                        "product": {

                            "code": "150-060",

                            "description": "Order-Direct - Module Koppeling met boekhouding"

                        }

                    }

                },

                {

                    "line": {

                        "id": 6,

                        "quantity": 1,

                        "product": {

                            "code": "150-070",

                            "description": "Order-Direct - Module Importeren externe gegevens"

                        }

                    }

                },

                {

                    "line": {

                        "id": 7,

                        "quantity": 1,

                        "product": {

                            "code": "150-110",

                            "description": "Order-Direct - Module Bijlagen"

                        }

                    }

                },

                {

                    "line": {

                        "id": 8,

                        "quantity": 1,

                        "product": {

                            "code": "150-130",

                            "description": "Order-Direct - Module Assemblages"

                        }

                    }

                },

                {

                    "line": {

                        "remark": "Order-Direct - Servicecontract (per jaar) - Basis 15,0 %"

                    }

                },

                {

                    "line": {

                        "id": 9,

                        "quantity": 1,

                        "product": {

                            "code": "200-000",

                            "description": "Order-Direct - Servicecontract (per jaar) - Basis"

                        }

                    }

                },

                {

                    "line": {}

                },

                {

                    "line": {

                        "id": 10,

                        "quantity": 1,

                        "product": {

                            "code": "440-000",

                            "description": "Voorbereiding en inrichting"

                        }

                    }

                },

                {

                    "line": {

                        "id": 11,

                        "quantity": 1,

                        "product": {

                            "code": "440-002",

                            "description": "Consultancy / training op locatie (per dag)"

                        }

                    }

                },

                {

                    "line": {

                        "id": 12,

                        "quantity": 2,

                        "product": {

                            "code": "440-004",

                            "description": "Reiskosten per uur"

                        }

                    }

                },

                {

                    "line": {

                        "id": 13,

                        "quantity": 2,

                        "product": {

                            "code": "440-010",

                            "description": "Converteren artikelen"

                        }

                    }

                },

                {

                    "line": {

                        "id": 14,

                        "quantity": 2,

                        "product": {

                            "code": "440-006",

                            "description": "Converteren relaties"

                        }

                    }

                },

                {

                    "line": {

                        "remark": "Totaalprijs eenmalige kosten"

                    }

                },

                {

                    "line": {

                        "id": 15,

                        "quantity": 1,

                        "product": {

                            "code": "990-010",

                            "description": "Projectkorting"

                        }

                    }

                }

            ]

        }

    }

}