POST api/Quotations
Request Information
URI Parameters
None.
Body Parameters
SalesQuotationName | Description | Type | Additional information |
---|---|---|---|
DocEntry | integer |
None. |
|
DocNum | integer |
None. |
|
CardCode | string |
None. |
|
CardName | string |
None. |
|
DocDate | date |
None. |
|
Comments | string |
None. |
|
SalesPersonCode | integer |
None. |
|
PaymentGroupCode | integer |
None. |
|
PriceList | integer |
None. |
|
DocTotal | decimal number |
None. |
|
Series | integer |
None. |
|
DocCurrency | string |
None. |
|
DocumentLines | Collection of SalesQuotationRows |
None. |
|
Udfs | Collection of Udf |
None. |
|
DocStatus | string |
None. |
|
TipoDocE | string |
None. |
|
IdType | string |
None. |
|
Identification | string |
None. |
|
string |
None. |
||
ConfirmationEntry | integer |
None. |
|
DocObjectCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocEntry": 1, "DocNum": 2, "CardCode": "sample string 3", "CardName": "sample string 4", "DocDate": "2025-04-03T20:26:25.2718631-06:00", "Comments": "sample string 6", "SalesPersonCode": 7, "PaymentGroupCode": 8, "PriceList": 9, "DocTotal": 10.0, "Series": 11, "DocCurrency": "sample string 12", "DocumentLines": [ { "LineNum": 1, "LineTotal": 2.0, "ItemCode": "sample string 3", "ItemDescription": "sample string 4", "UnitPrice": 5.0, "Quantity": 6.0, "TaxCode": "sample string 7", "TaxRate": "sample string 8", "TaxOnly": "sample string 9", "BaseType": 10, "BaseEntry": 1, "BaseLine": 1, "TreeType": "sample string 11", "Currency": "sample string 12", "WarehouseCode": "sample string 13", "DiscountPercent": 14.0, "CostingCode": "sample string 15", "UoMEntry": "sample string 16", "Udfs": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ], "ManBtchNum": "sample string 17", "ManSerNum": "sample string 18", "FatherCode": "sample string 19", "UoMMasterData": [ { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "UnitPrice": 4.0, "UnitPriceFC": 5.0 }, { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "UnitPrice": 4.0, "UnitPriceFC": 5.0 } ], "LineStatus": "sample string 20", "WhsName": "sample string 21", "LinesCurrenciesList": [ { "Id": "sample string 1", "DocCurrency": "sample string 2", "Description": "sample string 3", "Price": 4.0 }, { "Id": "sample string 1", "DocCurrency": "sample string 2", "Description": "sample string 3", "Price": 4.0 } ], "OnHand": 22.1, "InventoryItem": "sample string 23" }, { "LineNum": 1, "LineTotal": 2.0, "ItemCode": "sample string 3", "ItemDescription": "sample string 4", "UnitPrice": 5.0, "Quantity": 6.0, "TaxCode": "sample string 7", "TaxRate": "sample string 8", "TaxOnly": "sample string 9", "BaseType": 10, "BaseEntry": 1, "BaseLine": 1, "TreeType": "sample string 11", "Currency": "sample string 12", "WarehouseCode": "sample string 13", "DiscountPercent": 14.0, "CostingCode": "sample string 15", "UoMEntry": "sample string 16", "Udfs": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ], "ManBtchNum": "sample string 17", "ManSerNum": "sample string 18", "FatherCode": "sample string 19", "UoMMasterData": [ { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "UnitPrice": 4.0, "UnitPriceFC": 5.0 }, { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "UnitPrice": 4.0, "UnitPriceFC": 5.0 } ], "LineStatus": "sample string 20", "WhsName": "sample string 21", "LinesCurrenciesList": [ { "Id": "sample string 1", "DocCurrency": "sample string 2", "Description": "sample string 3", "Price": 4.0 }, { "Id": "sample string 1", "DocCurrency": "sample string 2", "Description": "sample string 3", "Price": 4.0 } ], "OnHand": 22.1, "InventoryItem": "sample string 23" } ], "Udfs": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ], "DocStatus": "sample string 13", "TipoDocE": "sample string 14", "IdType": "sample string 15", "Identification": "sample string 16", "Email": "sample string 17", "ConfirmationEntry": 18, "DocObjectCode": "sample string 19" }
application/xml, text/xml
Sample:
<SalesQuotation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS.SAP"> <CardCode>sample string 3</CardCode> <CardName>sample string 4</CardName> <Comments>sample string 6</Comments> <ConfirmationEntry>18</ConfirmationEntry> <DocCurrency>sample string 12</DocCurrency> <DocDate>2025-04-03T20:26:25.2718631-06:00</DocDate> <DocEntry>1</DocEntry> <DocNum>2</DocNum> <DocObjectCode>sample string 19</DocObjectCode> <DocStatus>sample string 13</DocStatus> <DocTotal>10</DocTotal> <DocumentLines> <SalesQuotationRows> <BaseEntry>1</BaseEntry> <BaseLine>1</BaseLine> <BaseType>10</BaseType> <CostingCode>sample string 15</CostingCode> <Currency>sample string 12</Currency> <DiscountPercent>14</DiscountPercent> <FatherCode>sample string 19</FatherCode> <InventoryItem>sample string 23</InventoryItem> <ItemCode>sample string 3</ItemCode> <ItemDescription>sample string 4</ItemDescription> <LineNum>1</LineNum> <LineStatus>sample string 20</LineStatus> <LineTotal>2</LineTotal> <LinesCurrenciesList> <LinesCurrencies> <Description>sample string 3</Description> <DocCurrency>sample string 2</DocCurrency> <Id>sample string 1</Id> <Price>4</Price> </LinesCurrencies> <LinesCurrencies> <Description>sample string 3</Description> <DocCurrency>sample string 2</DocCurrency> <Id>sample string 1</Id> <Price>4</Price> </LinesCurrencies> </LinesCurrenciesList> <ManBtchNum>sample string 17</ManBtchNum> <ManSerNum>sample string 18</ManSerNum> <OnHand>22.1</OnHand> <Quantity>6</Quantity> <TaxCode>sample string 7</TaxCode> <TaxOnly>sample string 9</TaxOnly> <TaxRate>sample string 8</TaxRate> <TreeType>sample string 11</TreeType> <Udfs xmlns:d4p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf"> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> </Udfs> <UnitPrice>5</UnitPrice> <UoMEntry>sample string 16</UoMEntry> <UoMMasterData> <UoMMasterData> <UnitPrice>4</UnitPrice> <UnitPriceFC>5</UnitPriceFC> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoMMasterData> <UoMMasterData> <UnitPrice>4</UnitPrice> <UnitPriceFC>5</UnitPriceFC> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoMMasterData> </UoMMasterData> <WarehouseCode>sample string 13</WarehouseCode> <WhsName>sample string 21</WhsName> </SalesQuotationRows> <SalesQuotationRows> <BaseEntry>1</BaseEntry> <BaseLine>1</BaseLine> <BaseType>10</BaseType> <CostingCode>sample string 15</CostingCode> <Currency>sample string 12</Currency> <DiscountPercent>14</DiscountPercent> <FatherCode>sample string 19</FatherCode> <InventoryItem>sample string 23</InventoryItem> <ItemCode>sample string 3</ItemCode> <ItemDescription>sample string 4</ItemDescription> <LineNum>1</LineNum> <LineStatus>sample string 20</LineStatus> <LineTotal>2</LineTotal> <LinesCurrenciesList> <LinesCurrencies> <Description>sample string 3</Description> <DocCurrency>sample string 2</DocCurrency> <Id>sample string 1</Id> <Price>4</Price> </LinesCurrencies> <LinesCurrencies> <Description>sample string 3</Description> <DocCurrency>sample string 2</DocCurrency> <Id>sample string 1</Id> <Price>4</Price> </LinesCurrencies> </LinesCurrenciesList> <ManBtchNum>sample string 17</ManBtchNum> <ManSerNum>sample string 18</ManSerNum> <OnHand>22.1</OnHand> <Quantity>6</Quantity> <TaxCode>sample string 7</TaxCode> <TaxOnly>sample string 9</TaxOnly> <TaxRate>sample string 8</TaxRate> <TreeType>sample string 11</TreeType> <Udfs xmlns:d4p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf"> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> <d4p1:Udf> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:Udf> </Udfs> <UnitPrice>5</UnitPrice> <UoMEntry>sample string 16</UoMEntry> <UoMMasterData> <UoMMasterData> <UnitPrice>4</UnitPrice> <UnitPriceFC>5</UnitPriceFC> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoMMasterData> <UoMMasterData> <UnitPrice>4</UnitPrice> <UnitPriceFC>5</UnitPriceFC> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoMMasterData> </UoMMasterData> <WarehouseCode>sample string 13</WarehouseCode> <WhsName>sample string 21</WhsName> </SalesQuotationRows> </DocumentLines> <Email>sample string 17</Email> <IdType>sample string 15</IdType> <Identification>sample string 16</Identification> <PaymentGroupCode>8</PaymentGroupCode> <PriceList>9</PriceList> <SalesPersonCode>7</SalesPersonCode> <Series>11</Series> <TipoDocE>sample string 14</TipoDocE> <Udfs xmlns:d2p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf"> <d2p1:Udf> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:Udf> <d2p1:Udf> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:Udf> </Udfs> </SalesQuotation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |