POST api/EmpresaService/setCompradorProveedores
Request Information
URI Parameters
None.
Body Parameters
CompradorProveedoresName | Description | Type | Additional information |
---|---|---|---|
iDCompradorProveedor | integer |
None. |
|
iDComprador | integer |
None. |
|
proveedor | string |
None. |
|
comprador | string |
None. |
|
rUC | string |
None. |
|
dV | string |
None. |
|
direccion | string |
None. |
|
codpais | string |
None. |
|
telefono | string |
None. |
|
fax | string |
None. |
|
emailventa | string |
None. |
|
contactoVenta | string |
None. |
|
emailcobros | string |
None. |
|
contactoCobros | string |
None. |
|
referencia | string |
None. |
|
iDVendedor | integer |
None. |
|
usuCre | integer |
None. |
|
fecCre | date |
None. |
|
fecCreString | string |
None. |
|
usuMod | integer |
None. |
|
fecMod | date |
None. |
|
foto | string |
None. |
|
estadoProveedor | string |
None. |
|
estadoProntoCompra | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "iDCompradorProveedor": 1, "iDComprador": 2, "proveedor": "sample string 3", "comprador": "sample string 4", "rUC": "sample string 5", "dV": "sample string 6", "direccion": "sample string 7", "codpais": "sample string 8", "telefono": "sample string 9", "fax": "sample string 10", "emailventa": "sample string 11", "contactoVenta": "sample string 12", "emailcobros": "sample string 13", "contactoCobros": "sample string 14", "referencia": "sample string 15", "iDVendedor": 1, "usuCre": 16, "fecCre": "2024-11-11T19:53:28.8640185-05:00", "fecCreString": "sample string 18", "usuMod": 19, "fecMod": "2024-11-11T19:53:28.8640185-05:00", "foto": "sample string 21", "estadoProveedor": "sample string 22", "estadoProntoCompra": "sample string 23" }
application/xml, text/xml
Sample:
<CompradorProveedores xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProntoCompra.Ventas.ViewModels"> <codpais>sample string 8</codpais> <comprador>sample string 4</comprador> <contactoCobros>sample string 14</contactoCobros> <contactoVenta>sample string 12</contactoVenta> <dV>sample string 6</dV> <direccion>sample string 7</direccion> <emailcobros>sample string 13</emailcobros> <emailventa>sample string 11</emailventa> <estadoProntoCompra>sample string 23</estadoProntoCompra> <estadoProveedor>sample string 22</estadoProveedor> <fax>sample string 10</fax> <fecCre>2024-11-11T19:53:28.8640185-05:00</fecCre> <fecCreString>sample string 18</fecCreString> <fecMod>2024-11-11T19:53:28.8640185-05:00</fecMod> <foto>sample string 21</foto> <iDComprador>2</iDComprador> <iDCompradorProveedor>1</iDCompradorProveedor> <iDVendedor>1</iDVendedor> <proveedor>sample string 3</proveedor> <rUC>sample string 5</rUC> <referencia>sample string 15</referencia> <telefono>sample string 9</telefono> <usuCre>16</usuCre> <usuMod>19</usuMod> </CompradorProveedores>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ValueTupleOfString[]AndString[]Name | Description | Type | Additional information |
---|---|---|---|
Item1 | Collection of string |
None. |
|
Item2 | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Item1": [ "sample string 1", "sample string 2" ], "Item2": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ValueTupleOfArrayOfstringArrayOfstring0dMmj3_Sh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System"> <Item1 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Item1> <Item2 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Item2> </ValueTupleOfArrayOfstringArrayOfstring0dMmj3_Sh>