POST api/Maestro/SerieAgregar

Request Information

URI Parameters

None.

Body Parameters

MM_SerieDTO
NameDescriptionTypeAdditional information
SERIEID

integer

None.

IDCLIENTE

integer

None.

IDSEDE

integer

None.

IDCOMEDOR

integer

None.

NOMBRE

string

None.

CODIGOTEXTO

string

None.

NUMEROTEXTO

string

None.

CODIGOSOX

string

None.

VOUCHERTITULO

string

None.

VOUCHERCABECERA

string

None.

VOUCHERGLOSA

string

None.

VOUCHERHOJA

string

None.

VOUCHERMEDIDA

string

None.

VOUCHERTAMANO

string

None.

VOUCHERFUENTE

string

None.

VOUCHERGLOSAPREVENTA

string

None.

ESTADO

string

None.

USUARIOREGISTRAR

string

None.

USUARIOMODIFICAR

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SERIEID": 1,
  "IDCLIENTE": 1,
  "IDSEDE": 1,
  "IDCOMEDOR": 1,
  "NOMBRE": "sample string 2",
  "CODIGOTEXTO": "sample string 3",
  "NUMEROTEXTO": "sample string 4",
  "CODIGOSOX": "sample string 5",
  "VOUCHERTITULO": "sample string 6",
  "VOUCHERCABECERA": "sample string 7",
  "VOUCHERGLOSA": "sample string 8",
  "VOUCHERHOJA": "sample string 9",
  "VOUCHERMEDIDA": "sample string 10",
  "VOUCHERTAMANO": "sample string 11",
  "VOUCHERFUENTE": "sample string 12",
  "VOUCHERGLOSAPREVENTA": "sample string 13",
  "ESTADO": "sample string 14",
  "USUARIOREGISTRAR": "sample string 15",
  "USUARIOMODIFICAR": "sample string 16"
}

application/xml, text/xml

Sample:
<MM_SerieDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.PeruOnline.Entidades">
  <CODIGOSOX>sample string 5</CODIGOSOX>
  <CODIGOTEXTO>sample string 3</CODIGOTEXTO>
  <ESTADO>sample string 14</ESTADO>
  <IDCLIENTE>1</IDCLIENTE>
  <IDCOMEDOR>1</IDCOMEDOR>
  <IDSEDE>1</IDSEDE>
  <NOMBRE>sample string 2</NOMBRE>
  <NUMEROTEXTO>sample string 4</NUMEROTEXTO>
  <SERIEID>1</SERIEID>
  <USUARIOMODIFICAR>sample string 16</USUARIOMODIFICAR>
  <USUARIOREGISTRAR>sample string 15</USUARIOREGISTRAR>
  <VOUCHERCABECERA>sample string 7</VOUCHERCABECERA>
  <VOUCHERFUENTE>sample string 12</VOUCHERFUENTE>
  <VOUCHERGLOSA>sample string 8</VOUCHERGLOSA>
  <VOUCHERGLOSAPREVENTA>sample string 13</VOUCHERGLOSAPREVENTA>
  <VOUCHERHOJA>sample string 9</VOUCHERHOJA>
  <VOUCHERMEDIDA>sample string 10</VOUCHERMEDIDA>
  <VOUCHERTAMANO>sample string 11</VOUCHERTAMANO>
  <VOUCHERTITULO>sample string 6</VOUCHERTITULO>
</MM_SerieDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfString
NameDescriptionTypeAdditional information
status_code

HttpStatusCode

None.

message

string

None.

error

Exception

None.

result

string

None.

data

string

None.

resultado

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status_code": 100,
  "message": "sample string 1",
  "error": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "result": "sample string 2",
  "data": "sample string 3",
  "resultado": "sample string 4"
}

application/xml, text/xml

Sample:
<ResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.PeruOnline.Models">
  <data>sample string 3</data>
  <error xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </error>
  <message>sample string 1</message>
  <result>sample string 2</result>
  <resultado>sample string 4</resultado>
  <status_code>Continue</status_code>
</ResponseOfstring>