POST api/Documents/CreateQuotation
Request Information
URI Parameters
None.
Body Parameters
IQuotDocumentName | Description | Type | Additional information |
---|---|---|---|
DocStatus | string |
None. |
|
UserId | string |
None. |
|
DocTotal | decimal number |
None. |
|
DocTotalFC | decimal number |
None. |
|
SalesMan | string |
None. |
|
DocEntry | integer |
None. |
|
DocNum | integer |
None. |
|
BaseEntry | integer |
None. |
|
CardCode | string |
None. |
|
CardName | string |
None. |
|
DocType | string |
None. |
|
DocDate | date |
None. |
|
DocDueDate | string |
None. |
|
DocCurrency | string |
None. |
|
NumAtCard | string |
None. |
|
PaymentGroupCode | string |
None. |
|
Comments | string |
None. |
|
SalesPersonCode | integer |
None. |
|
U_TipoDocE | string |
None. |
|
U_TipoIdentificacion | string |
None. |
|
U_NumIdentFE | string |
None. |
|
U_CorreoFE | string |
None. |
|
U_ObservacionFE | string |
None. |
|
U_Online | string |
None. |
|
Series | integer |
None. |
|
U_CLVS_POS_UniqueInvId | string |
None. |
|
DocumentLines | Collection of DocumentLines |
None. |
|
U_Provincia | string |
None. |
|
U_Canton | string |
None. |
|
U_Distrito | string |
None. |
|
U_Barrio | string |
None. |
|
U_Direccion | string |
None. |
|
U_ClaveFE | string |
None. |
|
U_NumFE | string |
None. |
|
UdfTarget | Collection of UdfTarget |
None. |
|
U_ListNum | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "DocStatus": "sample string 1", "UserId": "sample string 2", "DocTotal": 3.0, "DocTotalFC": 4.0, "SalesMan": "sample string 5", "DocEntry": 6, "DocNum": 7, "BaseEntry": 1, "CardCode": "sample string 8", "CardName": "sample string 9", "DocType": "sample string 10", "DocDate": "2025-04-04T00:08:34.1383133-06:00", "DocDueDate": "sample string 12", "DocCurrency": "sample string 13", "NumAtCard": "sample string 14", "PaymentGroupCode": "sample string 15", "Comments": "sample string 16", "SalesPersonCode": 17, "U_TipoDocE": "sample string 18", "U_TipoIdentificacion": "sample string 19", "U_NumIdentFE": "sample string 20", "U_CorreoFE": "sample string 21", "U_ObservacionFE": "sample string 22", "U_Online": "sample string 23", "Series": 24, "U_CLVS_POS_UniqueInvId": "sample string 25", "DocumentLines": [ { "ItemName": "sample string 1", "WhsName": "sample string 2", "LastPurchasePrice": 3.1, "LineStatus": "sample string 4", "OnHand": 5.1, "InvntItem": "sample string 6", "UoM": [ { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "Price": 4.0, "Currency": "sample string 5" }, { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "Price": 4.0, "Currency": "sample string 5" } ], "LineNum": 1, "ItemCode": "sample string 7", "UnitPrice": 8.1, "Quantity": 9.1, "TaxCode": "sample string 10", "TaxRate": 11.1, "WarehouseCode": "sample string 12", "DiscountPercent": 13.1, "Serie": "sample string 14", "TaxOnly": "sample string 15", "BaseType": 1, "BaseEntry": 1, "BaseLine": 1, "CostingCode": "sample string 16", "UoMEntry": 17, "UdfLinesTarget": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ] }, { "ItemName": "sample string 1", "WhsName": "sample string 2", "LastPurchasePrice": 3.1, "LineStatus": "sample string 4", "OnHand": 5.1, "InvntItem": "sample string 6", "UoM": [ { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "Price": 4.0, "Currency": "sample string 5" }, { "UoMEntry": 1, "UomCode": "sample string 2", "UomName": "sample string 3", "Price": 4.0, "Currency": "sample string 5" } ], "LineNum": 1, "ItemCode": "sample string 7", "UnitPrice": 8.1, "Quantity": 9.1, "TaxCode": "sample string 10", "TaxRate": 11.1, "WarehouseCode": "sample string 12", "DiscountPercent": 13.1, "Serie": "sample string 14", "TaxOnly": "sample string 15", "BaseType": 1, "BaseEntry": 1, "BaseLine": 1, "CostingCode": "sample string 16", "UoMEntry": 17, "UdfLinesTarget": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ] } ], "U_Provincia": "sample string 26", "U_Canton": "sample string 27", "U_Distrito": "sample string 28", "U_Barrio": "sample string 29", "U_Direccion": "sample string 30", "U_ClaveFE": "sample string 31", "U_NumFE": "sample string 32", "UdfTarget": [ { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" }, { "Name": "sample string 1", "FieldType": "sample string 2", "Value": "sample string 3" } ], "U_ListNum": 33 }
application/xml, text/xml
Sample:
<IQuotDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLVSPOS.MODELS"> <BaseEntry>1</BaseEntry> <CardCode>sample string 8</CardCode> <CardName>sample string 9</CardName> <Comments>sample string 16</Comments> <DocCurrency>sample string 13</DocCurrency> <DocDate>2025-04-04T00:08:34.1383133-06:00</DocDate> <DocDueDate>sample string 12</DocDueDate> <DocEntry>6</DocEntry> <DocNum>7</DocNum> <DocType>sample string 10</DocType> <DocumentLines> <DocumentLines> <BaseEntry>1</BaseEntry> <BaseLine>1</BaseLine> <BaseType>1</BaseType> <CostingCode>sample string 16</CostingCode> <DiscountPercent>13.1</DiscountPercent> <ItemCode>sample string 7</ItemCode> <LineNum>1</LineNum> <Quantity>9.1</Quantity> <Serie>sample string 14</Serie> <TaxCode>sample string 10</TaxCode> <TaxOnly>sample string 15</TaxOnly> <TaxRate>11.1</TaxRate> <UdfLinesTarget xmlns:d4p1="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS"> <d4p1:UdfTarget> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:UdfTarget> <d4p1:UdfTarget> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:UdfTarget> </UdfLinesTarget> <UnitPrice>8.1</UnitPrice> <UoMEntry>17</UoMEntry> <WarehouseCode>sample string 12</WarehouseCode> <InvntItem>sample string 6</InvntItem> <ItemName>sample string 1</ItemName> <LastPurchasePrice>3.1</LastPurchasePrice> <LineStatus>sample string 4</LineStatus> <OnHand>5.1</OnHand> <UoM> <UoM> <Currency>sample string 5</Currency> <Price>4</Price> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoM> <UoM> <Currency>sample string 5</Currency> <Price>4</Price> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoM> </UoM> <WhsName>sample string 2</WhsName> </DocumentLines> <DocumentLines> <BaseEntry>1</BaseEntry> <BaseLine>1</BaseLine> <BaseType>1</BaseType> <CostingCode>sample string 16</CostingCode> <DiscountPercent>13.1</DiscountPercent> <ItemCode>sample string 7</ItemCode> <LineNum>1</LineNum> <Quantity>9.1</Quantity> <Serie>sample string 14</Serie> <TaxCode>sample string 10</TaxCode> <TaxOnly>sample string 15</TaxOnly> <TaxRate>11.1</TaxRate> <UdfLinesTarget xmlns:d4p1="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS"> <d4p1:UdfTarget> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:UdfTarget> <d4p1:UdfTarget> <d4p1:FieldType>sample string 2</d4p1:FieldType> <d4p1:Name>sample string 1</d4p1:Name> <d4p1:Value>sample string 3</d4p1:Value> </d4p1:UdfTarget> </UdfLinesTarget> <UnitPrice>8.1</UnitPrice> <UoMEntry>17</UoMEntry> <WarehouseCode>sample string 12</WarehouseCode> <InvntItem>sample string 6</InvntItem> <ItemName>sample string 1</ItemName> <LastPurchasePrice>3.1</LastPurchasePrice> <LineStatus>sample string 4</LineStatus> <OnHand>5.1</OnHand> <UoM> <UoM> <Currency>sample string 5</Currency> <Price>4</Price> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoM> <UoM> <Currency>sample string 5</Currency> <Price>4</Price> <UoMEntry>1</UoMEntry> <UomCode>sample string 2</UomCode> <UomName>sample string 3</UomName> </UoM> </UoM> <WhsName>sample string 2</WhsName> </DocumentLines> </DocumentLines> <NumAtCard>sample string 14</NumAtCard> <PaymentGroupCode>sample string 15</PaymentGroupCode> <SalesPersonCode>17</SalesPersonCode> <Series>24</Series> <U_Barrio>sample string 29</U_Barrio> <U_CLVS_POS_UniqueInvId>sample string 25</U_CLVS_POS_UniqueInvId> <U_Canton>sample string 27</U_Canton> <U_ClaveFE>sample string 31</U_ClaveFE> <U_CorreoFE>sample string 21</U_CorreoFE> <U_Direccion>sample string 30</U_Direccion> <U_Distrito>sample string 28</U_Distrito> <U_ListNum>33</U_ListNum> <U_NumFE>sample string 32</U_NumFE> <U_NumIdentFE>sample string 20</U_NumIdentFE> <U_ObservacionFE>sample string 22</U_ObservacionFE> <U_Online>sample string 23</U_Online> <U_Provincia>sample string 26</U_Provincia> <U_TipoDocE>sample string 18</U_TipoDocE> <U_TipoIdentificacion>sample string 19</U_TipoIdentificacion> <UdfTarget xmlns:d2p1="http://schemas.datacontract.org/2004/07/CLVSSUPER.MODELS"> <d2p1:UdfTarget> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:UdfTarget> <d2p1:UdfTarget> <d2p1:FieldType>sample string 2</d2p1:FieldType> <d2p1:Name>sample string 1</d2p1:Name> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:UdfTarget> </UdfTarget> <DocStatus>sample string 1</DocStatus> <DocTotal>3</DocTotal> <DocTotalFC>4</DocTotalFC> <SalesMan>sample string 5</SalesMan> <UserId>sample string 2</UserId> </IQuotDocument>
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. |