POST api/charging/drcelular/import

Request Information

URI Parameters

None.

Body Parameters

DrCelularData
NameDescriptionTypeAdditional information
tblDrCelularTemps

Collection of tblDrCelularTemp

None.

Request Formats

application/json, text/json

Sample:
{
  "tblDrCelularTemps": [
    {
      "intId": 1,
      "txtLinha": "sample string 2",
      "txtValorTotalFatura": "sample string 3",
      "txtUsoLinha": "sample string 4",
      "txtOperadora": "sample string 5",
      "txtCliente": "sample string 6",
      "mes": 1,
      "ano": 1,
      "txtPlanoDeServico": "sample string 7",
      "txtCentroDeCusto": "sample string 8",
      "txtUsuario": "sample string 9",
      "txtFuncionalidade": "sample string 10",
      "txtEmpresa": "sample string 11",
      "txtPeriodo": "sample string 12",
      "txtFatura": "sample string 13",
      "txtNumberPhones": 1,
      "txtOperadoraButton": "sample string 14"
    },
    {
      "intId": 1,
      "txtLinha": "sample string 2",
      "txtValorTotalFatura": "sample string 3",
      "txtUsoLinha": "sample string 4",
      "txtOperadora": "sample string 5",
      "txtCliente": "sample string 6",
      "mes": 1,
      "ano": 1,
      "txtPlanoDeServico": "sample string 7",
      "txtCentroDeCusto": "sample string 8",
      "txtUsuario": "sample string 9",
      "txtFuncionalidade": "sample string 10",
      "txtEmpresa": "sample string 11",
      "txtPeriodo": "sample string 12",
      "txtFatura": "sample string 13",
      "txtNumberPhones": 1,
      "txtOperadoraButton": "sample string 14"
    }
  ]
}

text/html

Sample:
{"tblDrCelularTemps":[{"intId":1,"txtLinha":"sample string 2","txtValorTotalFatura":"sample string 3","txtUsoLinha":"sample string 4","txtOperadora":"sample string 5","txtCliente":"sample string 6","mes":1,"ano":1,"txtPlanoDeServico":"sample string 7","txtCentroDeCusto":"sample string 8","txtUsuario":"sample string 9","txtFuncionalidade":"sample string 10","txtEmpresa":"sample string 11","txtPeriodo":"sample string 12","txtFatura":"sample string 13","txtNumberPhones":1,"txtOperadoraButton":"sample string 14"},{"intId":1,"txtLinha":"sample string 2","txtValorTotalFatura":"sample string 3","txtUsoLinha":"sample string 4","txtOperadora":"sample string 5","txtCliente":"sample string 6","mes":1,"ano":1,"txtPlanoDeServico":"sample string 7","txtCentroDeCusto":"sample string 8","txtUsuario":"sample string 9","txtFuncionalidade":"sample string 10","txtEmpresa":"sample string 11","txtPeriodo":"sample string 12","txtFatura":"sample string 13","txtNumberPhones":1,"txtOperadoraButton":"sample string 14"}]}

application/xml, text/xml

Sample:
<DrCelularData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.DataAccess">
  <tblDrCelularTemps>
    <tblDrCelularTemp>
      <ano>1</ano>
      <intId>1</intId>
      <mes>1</mes>
      <txtCentroDeCusto>sample string 8</txtCentroDeCusto>
      <txtCliente>sample string 6</txtCliente>
      <txtEmpresa>sample string 11</txtEmpresa>
      <txtFatura>sample string 13</txtFatura>
      <txtFuncionalidade>sample string 10</txtFuncionalidade>
      <txtLinha>sample string 2</txtLinha>
      <txtNumberPhones>1</txtNumberPhones>
      <txtOperadora>sample string 5</txtOperadora>
      <txtOperadoraButton>sample string 14</txtOperadoraButton>
      <txtPeriodo>sample string 12</txtPeriodo>
      <txtPlanoDeServico>sample string 7</txtPlanoDeServico>
      <txtUsoLinha>sample string 4</txtUsoLinha>
      <txtUsuario>sample string 9</txtUsuario>
      <txtValorTotalFatura>sample string 3</txtValorTotalFatura>
    </tblDrCelularTemp>
    <tblDrCelularTemp>
      <ano>1</ano>
      <intId>1</intId>
      <mes>1</mes>
      <txtCentroDeCusto>sample string 8</txtCentroDeCusto>
      <txtCliente>sample string 6</txtCliente>
      <txtEmpresa>sample string 11</txtEmpresa>
      <txtFatura>sample string 13</txtFatura>
      <txtFuncionalidade>sample string 10</txtFuncionalidade>
      <txtLinha>sample string 2</txtLinha>
      <txtNumberPhones>1</txtNumberPhones>
      <txtOperadora>sample string 5</txtOperadora>
      <txtOperadoraButton>sample string 14</txtOperadoraButton>
      <txtPeriodo>sample string 12</txtPeriodo>
      <txtPlanoDeServico>sample string 7</txtPlanoDeServico>
      <txtUsoLinha>sample string 4</txtUsoLinha>
      <txtUsuario>sample string 9</txtUsuario>
      <txtValorTotalFatura>sample string 3</txtValorTotalFatura>
    </tblDrCelularTemp>
  </tblDrCelularTemps>
</DrCelularData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DrCelularData'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

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