POST api/Invoice/Affiliation

Request Information

URI Parameters

None.

Body Parameters

IssuerAffiliation
NameDescriptionTypeAdditional information
nit

integer

None.

razonSocial

string

None.

email

string

None.

tipoOrganizacion

string

None.

direccion

string

None.

codigoPostal

string

None.

codMunicipio

string

None.

municipio

string

None.

codDepartamento

string

None.

departamento

string

None.

responsabilidad

string

None.

regimen

string

None.

serviciosEmision

Collection of string

None.

vigencia

string

None.

testSetId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "nit": 1,
  "razonSocial": "sample string 2",
  "email": "sample string 3",
  "tipoOrganizacion": "sample string 4",
  "direccion": "sample string 5",
  "codigoPostal": "sample string 6",
  "codMunicipio": "sample string 7",
  "municipio": "sample string 8",
  "codDepartamento": "sample string 9",
  "departamento": "sample string 10",
  "responsabilidad": "sample string 11",
  "regimen": "sample string 12",
  "serviciosEmision": [
    "sample string 1",
    "sample string 2"
  ],
  "vigencia": "sample string 13",
  "testSetId": "sample string 14"
}

application/xml, text/xml

Sample:
<IssuerAffiliation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <nit>1</nit>
  <razonSocial>sample string 2</razonSocial>
  <email>sample string 3</email>
  <tipoOrganizacion>sample string 4</tipoOrganizacion>
  <direccion>sample string 5</direccion>
  <codigoPostal>sample string 6</codigoPostal>
  <codMunicipio>sample string 7</codMunicipio>
  <municipio>sample string 8</municipio>
  <codDepartamento>sample string 9</codDepartamento>
  <departamento>sample string 10</departamento>
  <responsabilidad>sample string 11</responsabilidad>
  <regimen>sample string 12</regimen>
  <serviciosEmision>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </serviciosEmision>
  <vigencia>sample string 13</vigencia>
  <testSetId>sample string 14</testSetId>
</IssuerAffiliation>

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 'IssuerAffiliation'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.