POST api/AccountApi/Edit

Request Information

URI Parameters

None.

Body Parameters

UserEdit
NameDescriptionTypeAdditional information
SucursalID

integer

None.

VendedorID

integer

None.

Password

string

None.

NroDocumento

string

None.

Calle

string

None.

CodPostal

string

None.

Localidad

string

None.

Piso

string

None.

ProvinciaId

integer

None.

Puerta

string

None.

Telefono

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SucursalID": 1,
  "VendedorID": 2,
  "Password": "sample string 3",
  "NroDocumento": "sample string 4",
  "Calle": "sample string 5",
  "CodPostal": "sample string 6",
  "Localidad": "sample string 7",
  "Piso": "sample string 8",
  "ProvinciaId": 9,
  "Puerta": "sample string 10",
  "Telefono": "sample string 11"
}

application/xml, text/xml

Sample:
<UserEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain">
  <Calle>sample string 5</Calle>
  <CodPostal>sample string 6</CodPostal>
  <Localidad>sample string 7</Localidad>
  <NroDocumento>sample string 4</NroDocumento>
  <Password>sample string 3</Password>
  <Piso>sample string 8</Piso>
  <ProvinciaId>9</ProvinciaId>
  <Puerta>sample string 10</Puerta>
  <SucursalID>1</SucursalID>
  <Telefono>sample string 11</Telefono>
  <VendedorID>2</VendedorID>
</UserEdit>

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

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Errors

APIErrors

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": {
    "HasErrors": true,
    "ErrorList": [
      {
        "Message": "sample string 1",
        "Source": "sample string 2"
      },
      {
        "Message": "sample string 1",
        "Source": "sample string 2"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities.Domain">
  <Errors>
    <ErrorList>
      <APIErrorMessage>
        <Message>sample string 1</Message>
        <Source>sample string 2</Source>
      </APIErrorMessage>
      <APIErrorMessage>
        <Message>sample string 1</Message>
        <Source>sample string 2</Source>
      </APIErrorMessage>
    </ErrorList>
    <HasErrors>true</HasErrors>
  </Errors>
</APIResponse>