salesQuote

POST {{url}}/{{environment}}/api/v2.0/companies({{companyId}})/salesQuotes?tenant={{tenant}}

Request Params

KeyDatatypeRequiredDescription
tenantstring

Request Body

{"documentDate"=>"2016-12-31", "customerNumber"=>"10000", "currencyCode"=>"GBP", "paymentTermsId"=>"{{paymentTermId}}"}

RESPONSES

status: Created

{"@odata.context":"http://bcserver:7048/BC/api/v2.0/$metadata#companies(a19eca60-4a86-ed11-aad5-000d3a38ed32)/salesQuotes/$entity","@odata.etag":"W/\"JzE5OzgyNDgxMDI0MjA3NDkyMzc4ODcxOzAwOyc=\"","id":"90dd2ed3-6988-ed11-af3b-84c6463dfe3c","number":"1003","externalDocumentNumber":"","documentDate":"2016-12-31","postingDate":"0001-01-01","dueDate":"2016-12-31","customerId":"4353076f-4a86-ed11-aad5-000d3a38ed32","customerNumber":"10000","customerName":"Adatum Corporation","billToName":"Adatum Corporation","billToCustomerId":"4353076f-4a86-ed11-aad5-000d3a38ed32","billToCustomerNumber":"10000","shipToName":"Adatum Corporation","shipToContact":"Robert Townes","sellToAddressLine1":"Station Road, 21","sellToAddressLine2":"","sellToCity":"Cambridge","sellToCountry":"GB","sellToState":"","sellToPostCode":"CB1 2FB","billToAddressLine1":"Station Road, 21","billToAddressLine2":"","billToCity":"Cambridge","billToCountry":"GB","billToState":"","billToPostCode":"CB1 2FB","shipToAddressLine1":"Station Road, 21","shipToAddressLine2":"","shipToCity":"Cambridge","shipToCountry":"GB","shipToState":"","shipToPostCode":"CB1 2FB","shortcutDimension1Code":"","shortcutDimension2Code":"MEDIUM","currencyId":"00000000-0000-0000-0000-000000000000","currencyCode":"GBP","paymentTermsId":"7a15f968-4a86-ed11-aad5-000d3a38ed32","shipmentMethodId":"fa52076f-4a86-ed11-aad5-000d3a38ed32","salesperson":"JO","discountAmount":0,"totalAmountExcludingTax":0,"totalTaxAmount":0,"totalAmountIncludingTax":0,"status":"Draft","sentDate":"0001-01-01T00:00:00Z","validUntilDate":"0001-01-01","acceptedDate":"0001-01-01","lastModifiedDateTime":"2022-12-30T17:46:03.297Z","phoneNumber":"","email":"robert.townes@contoso.com"}