POST api/Cart/Confirm
Request Information
URI Parameters
None.
Body Parameters
ConfirmCartParamName | Description | Type | Additional information |
---|---|---|---|
RetiroID | integer |
None. |
|
PreferenceID | string |
None. |
|
TipoDeRetiroID | integer |
None. |
|
Observations | string |
None. |
|
EsProyecto | boolean |
None. |
|
Proyecto | ProyectoParam |
None. |
|
MercadoPago | boolean |
None. |
|
CuponId | integer |
None. |
|
CodCompId | integer |
None. |
|
Sucursal | integer |
None. |
|
NroComp | integer |
None. |
|
CodCompIdPed | integer |
None. |
|
SucursalPed | integer |
None. |
|
NroCompPed | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "RetiroID": 1, "PreferenceID": "sample string 2", "TipoDeRetiroID": 3, "Observations": "sample string 4", "EsProyecto": true, "Proyecto": { "Name": "sample string 1", "FechaLimite": "sample string 2", "FechaDecision": "sample string 3", "FechaProvision": "sample string 4", "NameFinal": "sample string 5", "NameContacto": "sample string 6", "EmailCliFinal": "sample string 7", "PresupuestoId": 8, "TipoProyectoId": 9, "CategoriaId": 10, "ZonaId": 11, "NameFirma": "sample string 12", "NameResp": "sample string 13", "EmailResp": "sample string 14", "PhoneResp": "sample string 15", "ContratacionId": 16, "PhoneCliFinal": "sample string 17", "DespProyecto": "sample string 18", "Equipamiento": "sample string 19", "Competidores": "sample string 20", "Observaciones": "sample string 21", "NameDist": "sample string 22", "NameDistResp": "sample string 23", "EmailDistResp": "sample string 24", "PhoneDistResp": "sample string 25", "ClienteId": 26, "Products": [ { "ProductId": 1, "Code": "sample string 2", "Description": "sample string 3", "Cantidad": 4 }, { "ProductId": 1, "Code": "sample string 2", "Description": "sample string 3", "Cantidad": 4 } ] }, "MercadoPago": true, "CuponId": 1, "CodCompId": 1, "Sucursal": 1, "NroComp": 1, "CodCompIdPed": 1, "SucursalPed": 1, "NroCompPed": 1 }
application/xml, text/xml
Sample:
<ConfirmCartParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <CodCompId>1</CodCompId> <CodCompIdPed>1</CodCompIdPed> <CuponId>1</CuponId> <EsProyecto>true</EsProyecto> <MercadoPago>true</MercadoPago> <NroComp>1</NroComp> <NroCompPed>1</NroCompPed> <Observations>sample string 4</Observations> <PreferenceID>sample string 2</PreferenceID> <Proyecto> <CategoriaId>10</CategoriaId> <ClienteId>26</ClienteId> <Competidores>sample string 20</Competidores> <ContratacionId>16</ContratacionId> <DespProyecto>sample string 18</DespProyecto> <EmailCliFinal>sample string 7</EmailCliFinal> <EmailDistResp>sample string 24</EmailDistResp> <EmailResp>sample string 14</EmailResp> <Equipamiento>sample string 19</Equipamiento> <FechaDecision>sample string 3</FechaDecision> <FechaLimite>sample string 2</FechaLimite> <FechaProvision>sample string 4</FechaProvision> <Name>sample string 1</Name> <NameContacto>sample string 6</NameContacto> <NameDist>sample string 22</NameDist> <NameDistResp>sample string 23</NameDistResp> <NameFinal>sample string 5</NameFinal> <NameFirma>sample string 12</NameFirma> <NameResp>sample string 13</NameResp> <Observaciones>sample string 21</Observaciones> <PhoneCliFinal>sample string 17</PhoneCliFinal> <PhoneDistResp>sample string 25</PhoneDistResp> <PhoneResp>sample string 15</PhoneResp> <PresupuestoId>8</PresupuestoId> <Products> <ProjectProduct> <Cantidad>4</Cantidad> <Code>sample string 2</Code> <Description>sample string 3</Description> <ProductId>1</ProductId> </ProjectProduct> <ProjectProduct> <Cantidad>4</Cantidad> <Code>sample string 2</Code> <Description>sample string 3</Description> <ProductId>1</ProductId> </ProjectProduct> </Products> <TipoProyectoId>9</TipoProyectoId> <ZonaId>11</ZonaId> </Proyecto> <RetiroID>1</RetiroID> <Sucursal>1</Sucursal> <SucursalPed>1</SucursalPed> <TipoDeRetiroID>3</TipoDeRetiroID> </ConfirmCartParam>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
APIErrorsName | Description | Type | Additional information |
---|---|---|---|
HasErrors | boolean |
None. |
|
ErrorList | Collection of APIErrorMessage |
None. |
Response Formats
application/json, text/json
Sample:
{ "HasErrors": true, "ErrorList": [ { "Message": "sample string 1", "Source": "sample string 2" }, { "Message": "sample string 1", "Source": "sample string 2" } ] }
application/xml, text/xml
Sample:
<APIErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain"> <ErrorList> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> <APIErrorMessage> <Message>sample string 1</Message> <Source>sample string 2</Source> </APIErrorMessage> </ErrorList> <HasErrors>true</HasErrors> </APIErrors>