POST api/User/AddOrUpdateEtrader

Request Information

URI Parameters

None.

Body Parameters

ETraderModel
NameDescriptionTypeAdditional information
UserID

integer

Required

LicenseNumber

string

Required

ETraderIssuingAuthority

integer

Required

ETraderLicenseImage

string

None.

ETraderExpiryDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "licenseNumber": "sample string 1",
  "eTraderIssuingAuthority": 1,
  "eTraderLicenseImage": "sample string 2",
  "eTraderExpiryDate": "2020-01-17T15:39:02.7335387+00:00"
}

application/xml, text/xml

Sample:
<ETraderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Models">
  <ETraderExpiryDate>2020-01-17T15:39:02.7335387+00:00</ETraderExpiryDate>
  <ETraderIssuingAuthority>1</ETraderIssuingAuthority>
  <ETraderLicenseImage>sample string 2</ETraderLicenseImage>
  <LicenseNumber>sample string 1</LicenseNumber>
  <UserID>1</UserID>
</ETraderModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.