POST api/custom/Edit

Request Information

URI Parameters

None.

Body Parameters

CustomEditReq
NameDescriptionTypeAdditional information
userId

string

None.

userName

string

None.

shortUserName

string

None.

password

string

None.

rebate

decimal number

None.

agenterId

string

None.

salemanId

string

None.

enabled

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "userName": "sample string 2",
  "shortUserName": "sample string 3",
  "password": "sample string 4",
  "rebate": 5.0,
  "agenterId": "sample string 6",
  "salemanId": "sample string 7",
  "enabled": 8
}

application/xml, text/xml

Sample:
<CustomEditReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Football.AppApi.Controllers">
  <agenterId>sample string 6</agenterId>
  <enabled>8</enabled>
  <password>sample string 4</password>
  <rebate>5</rebate>
  <salemanId>sample string 7</salemanId>
  <shortUserName>sample string 3</shortUserName>
  <userId>sample string 1</userId>
  <userName>sample string 2</userName>
</CustomEditReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultMsg
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "code": 3
}

application/xml, text/xml

Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Football.Model">
  <Code>3</Code>
  <Message>sample string 2</Message>
  <Success>true</Success>
</ResultMsg>