POST api/Client/SetLegalRepresentative

Request Information

URI Parameters

None.

Body Parameters

RequestSetRepLegal
NameDescriptionTypeAdditional information
RequestID

integer

Required

Range: inclusive between 0 and 999999999

CompanyName

string

Required

String length: inclusive between 0 and 100

CompanyNit

string

Required

String length: inclusive between 0 and 50

IdCity

integer

Required

Range: inclusive between 0 and 9999

CompanyAddress

string

Required

String length: inclusive between 0 and 250

CompanyEmail

string

Required

CompanyPhoneNumber

string

Required

Matching regular expression pattern: ^(\d{10})$

LegalRepArea

string

Required

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "RequestID": 1,
  "CompanyName": "sample string 2",
  "CompanyNit": "sample string 3",
  "IdCity": 4,
  "CompanyAddress": "sample string 5",
  "CompanyEmail": "sample string 6",
  "CompanyPhoneNumber": "sample string 7",
  "LegalRepArea": "sample string 8"
}

application/xml, text/xml

Sample:
<RequestSetRepLegal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD.WebAPIECD.Models.AppMovil">
  <CompanyAddress>sample string 5</CompanyAddress>
  <CompanyEmail>sample string 6</CompanyEmail>
  <CompanyName>sample string 2</CompanyName>
  <CompanyNit>sample string 3</CompanyNit>
  <CompanyPhoneNumber>sample string 7</CompanyPhoneNumber>
  <IdCity>4</IdCity>
  <LegalRepArea>sample string 8</LegalRepArea>
  <RequestID>1</RequestID>
</RequestSetRepLegal>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.