post
https://mapi-sandbox.unimaze.com/api/v1/transactions/submit-quotation
Creates a SubmitQuotation business transaction from a metadata structure.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
The call also informs the server of whether more data is expected or not and then updates the message status. If no more documents will be added, the call sets the status of the message to received. Otherwise, the message remains open and the message status is notset.
The following example contains the minimum JSON body required to create a valid quotation. These elements are mandatory.
According to the circumstances in which a quotation is made, you might need to include different properties in the metadata. To learn more, go to Quotation: Use cases.
{
"messageHandling": {
"receiverIdentifier": "0196:2222228899",
"fallbackEmailAddress": "[email protected]"
},
"quotation": {
"quotationNo": "QT1234",
"issueDate": "2019-11-08T17:27:54.774Z",
"currencyCode": "ISK",
"supplier": {
"name": "Test Party One",
"identifier": "0196:1111118899",
"address": {
"streetNameAndNumber": "42nd Street 1",
"city": "New York",
"postalZone": "10036",
"countryCode": "US"
}
},
"customer": {
"name": "Test Party Two",
"identifier": "0196:2222228899",
"address": {
"streetNameAndNumber": "14th Street 52",
"city": "New York",
"postalZone": "10011",
"countryCode": "US"
}
},
"quotationLines": [
{
"itemNo": "PROD001",
"name": "Product #1",
"quantity": 3,
"unitOfMeasure": {
"unit": "Rec20",
"code": "SMI"
},
"unitPriceAmount": 1000.0
}
],
"payableAmount": 3000.0
}
}