POST api/SPLCMCambioClave?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

SPLCMCambioClave
NameDescriptionTypeAdditional information
SamAccount

string

None.

PassViejo

string

None.

PassNuevo

string

None.

TipoCambio

TipoCambioClave

None.

Request Formats

application/json, text/json

Sample:
{
  "SamAccount": "sample string 1",
  "PassViejo": "sample string 2",
  "PassNuevo": "sample string 3",
  "TipoCambio": 0
}

application/xml, text/xml

Sample:
<SPLCMCambioClave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SPLCM_WebApi.Models">
  <PassNuevo>sample string 3</PassNuevo>
  <PassViejo>sample string 2</PassViejo>
  <SamAccount>sample string 1</SamAccount>
  <TipoCambio>Nueva</TipoCambio>
</SPLCMCambioClave>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SPLCMRespuestaGeneralOfString
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

Response

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "Response": "sample string 3"
}

application/xml, text/xml

Sample:
<SPLCMRespuestaGeneralOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SPLCM_WebApi.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Response>sample string 3</Response>
</SPLCMRespuestaGeneralOfstring>