POST api/EmployeeCorporate/AddEmployee
Request Information
URI Parameters
None.
Body Parameters
EmployeeCorporateRequestName | Description | Type | Additional information |
---|---|---|---|
iCodClienteTarjeta | integer |
None. |
|
CardNumber | integer |
None. |
|
ExistingCardNumber | integer |
None. |
|
CardType | integer |
None. |
|
ClassID | integer |
None. |
|
vchNombre | string |
None. |
|
vchPaterno | string |
None. |
|
vchMaterno | string |
None. |
|
vchPin | string |
None. |
|
icodEmpresa | integer |
None. |
|
CodigoEmpleado | string |
None. |
|
tiEstatusReg | integer |
None. |
|
vchNumFabrica | string |
None. |
|
Department | string |
None. |
|
iCodProducto | integer |
None. |
|
WebID | string |
None. |
|
iCodTipoEquipo | integer |
None. |
|
iCodEquipo | integer |
None. |
|
iCodOperacion | integer |
None. |
|
iCodEmpleadoVenta | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "iCodClienteTarjeta": 1, "CardNumber": 2, "ExistingCardNumber": 3, "CardType": 4, "ClassID": 5, "vchNombre": "sample string 6", "vchPaterno": "sample string 7", "vchMaterno": "sample string 8", "vchPin": "sample string 9", "icodEmpresa": 10, "CodigoEmpleado": "sample string 11", "tiEstatusReg": 12, "vchNumFabrica": "sample string 13", "Department": "sample string 14", "iCodProducto": 15, "WebID": "sample string 16", "iCodTipoEquipo": 17, "iCodEquipo": 18, "iCodOperacion": 19, "iCodEmpleadoVenta": 20 }
application/xml, text/xml
Sample:
<EmployeeCorporateController.EmployeeCorporateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers"> <CardNumber>2</CardNumber> <CardType>4</CardType> <ClassID>5</ClassID> <CodigoEmpleado>sample string 11</CodigoEmpleado> <Department>sample string 14</Department> <ExistingCardNumber>3</ExistingCardNumber> <WebID>sample string 16</WebID> <iCodClienteTarjeta>1</iCodClienteTarjeta> <iCodEmpleadoVenta>20</iCodEmpleadoVenta> <iCodEquipo>18</iCodEquipo> <iCodOperacion>19</iCodOperacion> <iCodProducto>15</iCodProducto> <iCodTipoEquipo>17</iCodTipoEquipo> <icodEmpresa>10</icodEmpresa> <tiEstatusReg>12</tiEstatusReg> <vchMaterno>sample string 8</vchMaterno> <vchNombre>sample string 6</vchNombre> <vchNumFabrica>sample string 13</vchNumFabrica> <vchPaterno>sample string 7</vchPaterno> <vchPin>sample string 9</vchPin> </EmployeeCorporateController.EmployeeCorporateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>