POST api/Portal/SaveNewOrder
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| Request | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"Order": {
"ContactPersonId": 1,
"OrderCode": 2,
"Status": 3,
"Address": "sample string 4",
"Comment": "sample string 5",
"PromoCode": "sample string 6",
"StreetName": "sample string 7",
"BuildingNumber": "sample string 8",
"FloorNumber": "sample string 9",
"ApartmentNumber": "sample string 10",
"TotalValue": 11.0,
"ContactPersonName": "sample string 12",
"StatusName": "sample string 13",
"CreatedEmpId": 1,
"CreatedDate": "2025-11-03T10:56:27.2221039+02:00",
"UpdatedEmpId": 1,
"UpdatedDate": "2025-11-03T10:56:27.2221039+02:00",
"DeletedEmpId": 1,
"DeletedDate": "2025-11-03T10:56:27.2221039+02:00",
"IsDeleted": true,
"Id": 15
},
"Products": [
{
"OrderId": 1,
"ProductId": 2,
"Quantity": 3,
"Price": 4.0,
"Image": "sample string 5",
"ProductName": "sample string 6",
"CreatedEmpId": 1,
"CreatedDate": "2025-11-03T10:56:27.2221039+02:00",
"UpdatedEmpId": 1,
"UpdatedDate": "2025-11-03T10:56:27.2221039+02:00",
"DeletedEmpId": 1,
"DeletedDate": "2025-11-03T10:56:27.2221039+02:00",
"IsDeleted": true,
"Id": 8
},
{
"OrderId": 1,
"ProductId": 2,
"Quantity": 3,
"Price": 4.0,
"Image": "sample string 5",
"ProductName": "sample string 6",
"CreatedEmpId": 1,
"CreatedDate": "2025-11-03T10:56:27.2221039+02:00",
"UpdatedEmpId": 1,
"UpdatedDate": "2025-11-03T10:56:27.2221039+02:00",
"DeletedEmpId": 1,
"DeletedDate": "2025-11-03T10:56:27.2221039+02:00",
"IsDeleted": true,
"Id": 8
},
{
"OrderId": 1,
"ProductId": 2,
"Quantity": 3,
"Price": 4.0,
"Image": "sample string 5",
"ProductName": "sample string 6",
"CreatedEmpId": 1,
"CreatedDate": "2025-11-03T10:56:27.2221039+02:00",
"UpdatedEmpId": 1,
"UpdatedDate": "2025-11-03T10:56:27.2221039+02:00",
"DeletedEmpId": 1,
"DeletedDate": "2025-11-03T10:56:27.2221039+02:00",
"IsDeleted": true,
"Id": 8
}
],
"TNId": "sample string 1",
"CreatedEmpId": 1,
"CreatedDate": "2025-11-03T10:56:27.2221039+02:00",
"UpdatedEmpId": 1,
"UpdatedDate": "2025-11-03T10:56:27.2221039+02:00",
"DeletedEmpId": 1,
"DeletedDate": "2025-11-03T10:56:27.2221039+02:00",
"IsDeleted": true,
"Id": 3
}
application/xml, text/xml
Sample:
<CRM_VM_Orders xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.Model">
<Id>3</Id>
<CreatedDate>2025-11-03T10:56:27.2221039+02:00</CreatedDate>
<CreatedEmpId>1</CreatedEmpId>
<DeletedDate>2025-11-03T10:56:27.2221039+02:00</DeletedDate>
<DeletedEmpId>1</DeletedEmpId>
<IsDeleted>true</IsDeleted>
<UpdatedDate>2025-11-03T10:56:27.2221039+02:00</UpdatedDate>
<UpdatedEmpId>1</UpdatedEmpId>
<Order>
<Id>15</Id>
<CreatedDate>2025-11-03T10:56:27.2221039+02:00</CreatedDate>
<CreatedEmpId>1</CreatedEmpId>
<DeletedDate>2025-11-03T10:56:27.2221039+02:00</DeletedDate>
<DeletedEmpId>1</DeletedEmpId>
<IsDeleted>true</IsDeleted>
<UpdatedDate>2025-11-03T10:56:27.2221039+02:00</UpdatedDate>
<UpdatedEmpId>1</UpdatedEmpId>
<Address>sample string 4</Address>
<ApartmentNumber>sample string 10</ApartmentNumber>
<BuildingNumber>sample string 8</BuildingNumber>
<Comment>sample string 5</Comment>
<ContactPersonId>1</ContactPersonId>
<ContactPersonName>sample string 12</ContactPersonName>
<FloorNumber>sample string 9</FloorNumber>
<OrderCode>2</OrderCode>
<PromoCode>sample string 6</PromoCode>
<Status>3</Status>
<StatusName>sample string 13</StatusName>
<StreetName>sample string 7</StreetName>
<TotalValue>11</TotalValue>
</Order>
<Products>
<CRM_OrderDetails>
<Id>8</Id>
<CreatedDate>2025-11-03T10:56:27.2221039+02:00</CreatedDate>
<CreatedEmpId>1</CreatedEmpId>
<DeletedDate>2025-11-03T10:56:27.2221039+02:00</DeletedDate>
<DeletedEmpId>1</DeletedEmpId>
<IsDeleted>true</IsDeleted>
<UpdatedDate>2025-11-03T10:56:27.2221039+02:00</UpdatedDate>
<UpdatedEmpId>1</UpdatedEmpId>
<Image>sample string 5</Image>
<OrderId>1</OrderId>
<Price>4</Price>
<ProductId>2</ProductId>
<ProductName>sample string 6</ProductName>
<Quantity>3</Quantity>
</CRM_OrderDetails>
<CRM_OrderDetails>
<Id>8</Id>
<CreatedDate>2025-11-03T10:56:27.2221039+02:00</CreatedDate>
<CreatedEmpId>1</CreatedEmpId>
<DeletedDate>2025-11-03T10:56:27.2221039+02:00</DeletedDate>
<DeletedEmpId>1</DeletedEmpId>
<IsDeleted>true</IsDeleted>
<UpdatedDate>2025-11-03T10:56:27.2221039+02:00</UpdatedDate>
<UpdatedEmpId>1</UpdatedEmpId>
<Image>sample string 5</Image>
<OrderId>1</OrderId>
<Price>4</Price>
<ProductId>2</ProductId>
<ProductName>sample string 6</ProductName>
<Quantity>3</Quantity>
</CRM_OrderDetails>
<CRM_OrderDetails>
<Id>8</Id>
<CreatedDate>2025-11-03T10:56:27.2221039+02:00</CreatedDate>
<CreatedEmpId>1</CreatedEmpId>
<DeletedDate>2025-11-03T10:56:27.2221039+02:00</DeletedDate>
<DeletedEmpId>1</DeletedEmpId>
<IsDeleted>true</IsDeleted>
<UpdatedDate>2025-11-03T10:56:27.2221039+02:00</UpdatedDate>
<UpdatedEmpId>1</UpdatedEmpId>
<Image>sample string 5</Image>
<OrderId>1</OrderId>
<Price>4</Price>
<ProductId>2</ProductId>
<ProductName>sample string 6</ProductName>
<Quantity>3</Quantity>
</CRM_OrderDetails>
</Products>
<TNId>sample string 1</TNId>
</CRM_VM_Orders>
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>