POST api/Projects/SaveProject
Request Information
URI Parameters
None.
Body Parameters
ProyectoParamName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
FechaLimite | string |
None. |
|
FechaDecision | string |
None. |
|
FechaProvision | string |
None. |
|
NameFinal | string |
None. |
|
NameContacto | string |
None. |
|
EmailCliFinal | string |
None. |
|
PresupuestoId | integer |
None. |
|
TipoProyectoId | integer |
None. |
|
CategoriaId | integer |
None. |
|
ZonaId | integer |
None. |
|
NameFirma | string |
None. |
|
NameResp | string |
None. |
|
EmailResp | string |
None. |
|
PhoneResp | string |
None. |
|
ContratacionId | integer |
None. |
|
PhoneCliFinal | string |
None. |
|
DespProyecto | string |
None. |
|
Equipamiento | string |
None. |
|
Competidores | string |
None. |
|
Observaciones | string |
None. |
|
NameDist | string |
None. |
|
NameDistResp | string |
None. |
|
EmailDistResp | string |
None. |
|
PhoneDistResp | string |
None. |
|
ClienteId | integer |
None. |
|
Products | Collection of ProjectProduct |
None. |
Request Formats
application/json, text/json
Sample:
{ "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 } ] }
application/xml, text/xml
Sample:
<ProyectoParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities"> <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> </ProyectoParam>
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>