POST api/Employee/AddEmployee

Request Information

URI Parameters

None.

Body Parameters

EmployeeRequest
NameDescriptionTypeAdditional information
iCodClienteTarjeta

integer

None.

CardNumber

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.

Request Formats

application/json, text/json

Sample:
{
  "iCodClienteTarjeta": 1,
  "CardNumber": 2,
  "CardType": 3,
  "ClassID": 4,
  "vchNombre": "sample string 5",
  "vchPaterno": "sample string 6",
  "vchMaterno": "sample string 7",
  "vchPin": "sample string 8",
  "icodEmpresa": 9,
  "CodigoEmpleado": "sample string 10",
  "tiEstatusReg": 11,
  "vchNumFabrica": "sample string 12"
}

application/xml, text/xml

Sample:
<EmployeeController.EmployeeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <CardNumber>2</CardNumber>
  <CardType>3</CardType>
  <ClassID>4</ClassID>
  <CodigoEmpleado>sample string 10</CodigoEmpleado>
  <iCodClienteTarjeta>1</iCodClienteTarjeta>
  <icodEmpresa>9</icodEmpresa>
  <tiEstatusReg>11</tiEstatusReg>
  <vchMaterno>sample string 7</vchMaterno>
  <vchNombre>sample string 5</vchNombre>
  <vchNumFabrica>sample string 12</vchNumFabrica>
  <vchPaterno>sample string 6</vchPaterno>
  <vchPin>sample string 8</vchPin>
</EmployeeController.EmployeeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>