POST api/UserMaster/AddCreditToClient

Request Information

URI Parameters

None.

Body Parameters

clsClientCreditRequest
NameDescriptionTypeAdditional information
IdealClientId

integer

None.

SEId

integer

None.

Credit

integer

None.

CreditType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdealClientId": 1,
  "SEId": 2,
  "Credit": 3,
  "CreditType": 4
}

application/xml, text/xml

Sample:
<clsClientCreditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <Credit>3</Credit>
  <CreditType>4</CreditType>
  <IdealClientId>1</IdealClientId>
  <SEId>2</SEId>
</clsClientCreditRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

clsClientCreditResponse
NameDescriptionTypeAdditional information
responseCode

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "responseCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<clsClientCreditResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <Message>sample string 2</Message>
  <responseCode>1</responseCode>
</clsClientCreditResponse>