POST api/Acounting/SaveSalesOrder
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| vmSalesOrder | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"entity": {
"Id": 1,
"QuotationId": 1,
"PotentialId": 1,
"InvoiceId": 1,
"LinkedWithInvoice": true,
"SupplierInvoiceId": 1,
"StatusId": 3,
"Code": "sample string 4",
"Title": "sample string 5",
"Date": "2025-12-17T22:02:15.5048925+02:00",
"TotalPrice": 7.0,
"DownPaymentPercenrage": 8.0,
"DownPaymentValue": 9.0,
"DiscountPercenrage": 10.0,
"DiscountValue": 11.0,
"NetValue": 12.0,
"VAT": 13.0,
"VATValue": 14.0,
"TotalAfterVAT": 15.0,
"SupplierId": 1,
"SupplierCommissionRate": 1.0,
"Description": "sample string 16",
"CustomerId": 1,
"ContactId": 1,
"Posting": true,
"ProjectId": 1,
"GroupId": 1,
"StockId": 1,
"IsArchived": true,
"FinancialApproval": 1,
"SalesApproval": 1,
"FinancialApprovalComment": "sample string 17",
"SalesApprovalComment": "sample string 18",
"FinancialApprovalDate": "2025-12-17T22:02:15.5048925+02:00",
"SalesApprovalDate": "2025-12-17T22:02:15.5048925+02:00",
"IssueNoteRequestId": 1,
"TaxTypeId": 1,
"PaymentTypeId": 1,
"DeliverySupplierId": 1,
"DeliveryEmployeeId": 1,
"DeliveryValue": 1.0,
"ColorGuideId": 19,
"CompanyId": 1,
"SOCurrencyId": 1,
"ReciptId": 1,
"PaidReciptValue": 1.0,
"QuotationCode": "sample string 20",
"QuotationTitle": "sample string 21",
"Remaining": 22.0,
"Paid": 23.0,
"InvoiceCode": "sample string 24",
"Status": "sample string 25",
"CreatedEmpId": 1,
"CreatedDate": "2025-12-17T22:02:15.5048925+02:00",
"UpdatedEmpId": 1,
"UpdatedDate": "2025-12-17T22:02:15.5048925+02:00",
"DeletedEmpId": 1,
"DeletedDate": "2025-12-17T22:02:15.5048925+02:00",
"IsDeleted": true
},
"SalesOrderDetails": [
{
"MasterId": 1,
"ItemId": 2,
"ProductId": 3,
"UnitPrice": 1.0,
"Quantity": 4.0,
"Total": 5.0,
"Description": "sample string 6",
"ItemName": "sample string 7",
"PriceListName": "sample string 8",
"Id": 9
},
{
"MasterId": 1,
"ItemId": 2,
"ProductId": 3,
"UnitPrice": 1.0,
"Quantity": 4.0,
"Total": 5.0,
"Description": "sample string 6",
"ItemName": "sample string 7",
"PriceListName": "sample string 8",
"Id": 9
},
{
"MasterId": 1,
"ItemId": 2,
"ProductId": 3,
"UnitPrice": 1.0,
"Quantity": 4.0,
"Total": 5.0,
"Description": "sample string 6",
"ItemName": "sample string 7",
"PriceListName": "sample string 8",
"Id": 9
}
],
"EmpId": 1,
"Direction": "sample string 2",
"Docs": [
{
"FileName": "sample string 1",
"Bytes": "QEBA"
},
{
"FileName": "sample string 1",
"Bytes": "QEBA"
},
{
"FileName": "sample string 1",
"Bytes": "QEBA"
}
],
"ServerIP": "sample string 3",
"InCT": "sample string 4"
}
application/xml, text/xml
Sample:
<VM_SalesOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.Model">
<Direction>sample string 2</Direction>
<Docs>
<VM_Docs>
<Bytes>QEBA</Bytes>
<FileName>sample string 1</FileName>
</VM_Docs>
<VM_Docs>
<Bytes>QEBA</Bytes>
<FileName>sample string 1</FileName>
</VM_Docs>
<VM_Docs>
<Bytes>QEBA</Bytes>
<FileName>sample string 1</FileName>
</VM_Docs>
</Docs>
<EmpId>1</EmpId>
<InCT>sample string 4</InCT>
<SalesOrderDetails>
<CRM_SalesOrderDetails>
<Id>9</Id>
<Description>sample string 6</Description>
<ItemId>2</ItemId>
<ItemName>sample string 7</ItemName>
<MasterId>1</MasterId>
<PriceListName>sample string 8</PriceListName>
<ProductId>3</ProductId>
<Quantity>4</Quantity>
<Total>5</Total>
<UnitPrice>1</UnitPrice>
</CRM_SalesOrderDetails>
<CRM_SalesOrderDetails>
<Id>9</Id>
<Description>sample string 6</Description>
<ItemId>2</ItemId>
<ItemName>sample string 7</ItemName>
<MasterId>1</MasterId>
<PriceListName>sample string 8</PriceListName>
<ProductId>3</ProductId>
<Quantity>4</Quantity>
<Total>5</Total>
<UnitPrice>1</UnitPrice>
</CRM_SalesOrderDetails>
<CRM_SalesOrderDetails>
<Id>9</Id>
<Description>sample string 6</Description>
<ItemId>2</ItemId>
<ItemName>sample string 7</ItemName>
<MasterId>1</MasterId>
<PriceListName>sample string 8</PriceListName>
<ProductId>3</ProductId>
<Quantity>4</Quantity>
<Total>5</Total>
<UnitPrice>1</UnitPrice>
</CRM_SalesOrderDetails>
</SalesOrderDetails>
<ServerIP>sample string 3</ServerIP>
<entity>
<Id>1</Id>
<CreatedDate>2025-12-17T22:02:15.5048925+02:00</CreatedDate>
<CreatedEmpId>1</CreatedEmpId>
<DeletedDate>2025-12-17T22:02:15.5048925+02:00</DeletedDate>
<DeletedEmpId>1</DeletedEmpId>
<IsDeleted>true</IsDeleted>
<UpdatedDate>2025-12-17T22:02:15.5048925+02:00</UpdatedDate>
<UpdatedEmpId>1</UpdatedEmpId>
<Code>sample string 4</Code>
<ColorGuideId>19</ColorGuideId>
<CompanyId>1</CompanyId>
<ContactId>1</ContactId>
<CustomerId>1</CustomerId>
<Date>2025-12-17T22:02:15.5048925+02:00</Date>
<DeliveryEmployeeId>1</DeliveryEmployeeId>
<DeliverySupplierId>1</DeliverySupplierId>
<DeliveryValue>1</DeliveryValue>
<Description>sample string 16</Description>
<DiscountPercenrage>10</DiscountPercenrage>
<DiscountValue>11</DiscountValue>
<DownPaymentPercenrage>8</DownPaymentPercenrage>
<DownPaymentValue>9</DownPaymentValue>
<FinancialApproval>1</FinancialApproval>
<FinancialApprovalComment>sample string 17</FinancialApprovalComment>
<FinancialApprovalDate>2025-12-17T22:02:15.5048925+02:00</FinancialApprovalDate>
<GroupId>1</GroupId>
<InvoiceCode>sample string 24</InvoiceCode>
<InvoiceId>1</InvoiceId>
<IsArchived>true</IsArchived>
<IssueNoteRequestId>1</IssueNoteRequestId>
<LinkedWithInvoice>true</LinkedWithInvoice>
<NetValue>12</NetValue>
<Paid>23</Paid>
<PaidReciptValue>1</PaidReciptValue>
<PaymentTypeId>1</PaymentTypeId>
<Posting>true</Posting>
<PotentialId>1</PotentialId>
<ProjectId>1</ProjectId>
<QuotationCode>sample string 20</QuotationCode>
<QuotationId>1</QuotationId>
<QuotationTitle>sample string 21</QuotationTitle>
<ReciptId>1</ReciptId>
<Remaining>22</Remaining>
<SOCurrencyId>1</SOCurrencyId>
<SalesApproval>1</SalesApproval>
<SalesApprovalComment>sample string 18</SalesApprovalComment>
<SalesApprovalDate>2025-12-17T22:02:15.5048925+02:00</SalesApprovalDate>
<Status>sample string 25</Status>
<StatusId>3</StatusId>
<StockId>1</StockId>
<SupplierCommissionRate>1</SupplierCommissionRate>
<SupplierId>1</SupplierId>
<SupplierInvoiceId>1</SupplierInvoiceId>
<TaxTypeId>1</TaxTypeId>
<Title>sample string 5</Title>
<TotalAfterVAT>15</TotalAfterVAT>
<TotalPrice>7</TotalPrice>
<VAT>13</VAT>
<VATValue>14</VATValue>
</entity>
</VM_SalesOrder>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"Result": true,
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus"> <ErrorMessage>sample string 2</ErrorMessage> <Result>true</Result> </GeneralErrors>