| PUT | /retail_client/edit |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| RetailClient | body | RetailClient | No | |
| PartnerIds | body | List<int> | No | |
| Partners | body | Partners | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| PartnerId | form | int | No | |
| PartnerIds | form | List<int> | No | |
| PartnerName | form | string | No | |
| ClientType | form | string | No | |
| FirstName | form | string | No | |
| MiddleName | form | string | No | |
| LastName | form | string | No | |
| FullNames | form | string | No | |
| FirstLastName | form | string | No | |
| Title | form | string | No | |
| Gender | form | string | No | |
| Race | form | string | No | |
| ResidencyStatus | form | string | No | |
| TaxRefNumber | form | string | No | |
| IdNumber | form | string | No | |
| DateOfBirth | form | DateTime? | No | |
| PlaceOfBirth | form | string | No | |
| Nationality | form | string | No | |
| CountryOfResidence | form | string | No | |
| PassportNumber | form | string | No | |
| PassportIssueDate | form | DateTime? | No | |
| PassportExpiryDate | form | DateTime? | No | |
| PassportCountry | form | string | No | |
| TempResNumber | form | string | No | |
| TempResDate | form | string | No | |
| EmailAddress | form | string | No | |
| ContactNumber1 | form | string | No | |
| ContactNumber2 | form | string | No | |
| ContactNumber3 | form | string | No | |
| Address | form | string | No | |
| Suburb | form | string | No | |
| City | form | string | No | |
| Province | form | string | No | |
| PostalCode | form | string | No | |
| Country | form | string | No | |
| PostalSameAsStreet | form | bool? | No | |
| PostalAddress | form | string | No | |
| PostalSuburb | form | string | No | |
| PostalCity | form | string | No | |
| PostalProvince | form | string | No | |
| PostalPostalCode | form | string | No | |
| PostalCountry | form | string | No | |
| IsSoleProprietor | form | bool? | No | |
| TradingSameAsStreet | form | bool? | No | |
| TradingAddress | form | string | No | |
| TradingSuburb | form | string | No | |
| TradingCity | form | string | No | |
| TradingProvince | form | string | No | |
| TradingPostalCode | form | string | No | |
| TradingCountry | form | string | No | |
| Occupation | form | string | No | |
| OccupationSpecify | form | string | No | |
| Designation | form | string | No | |
| DesignationSpecify | form | string | No | |
| BusinessType | form | string | No | |
| IsZarAccount | form | bool? | No | |
| FcaRequired | form | bool? | No | |
| FcaCurrency1 | form | string | No | |
| FcaCurrency2 | form | string | No | |
| FcaDetails | form | string | No | |
| TradeLimit | form | string | No | |
| LessR10k | form | bool? | No | |
| LessR20k | form | bool? | No | |
| LessR50k | form | bool? | No | |
| LessR100k | form | bool? | No | |
| MoreR100k | form | bool? | No | |
| MonthlyIncome | form | string | No | |
| AccountPurpose | form | string | No | |
| SourceOfFunds | form | string | No | |
| SourceOfFundsSpecify | form | string | No | |
| SourceOfWealth | form | string | No | |
| SourceOfWealthSpecify | form | string | No | |
| AccountDomicile | form | string | No | |
| ThirdPartyAccount | form | string | No | |
| InvestmentValue | form | string | No | |
| UsPersonYes | form | bool? | No | |
| UsPersonNo | form | bool? | No | |
| TinNumber | form | string | No | |
| ExSaTaxResidentYes | form | bool? | No | |
| ExSaTaxResidentNo | form | bool? | No | |
| Country1 | form | string | No | |
| TinNumber1 | form | string | No | |
| Country2 | form | string | No | |
| TinNumber2 | form | string | No | |
| CurrentDate | form | DateTime? | No | |
| MultipleSignatories | form | bool | No | |
| Capacity1 | form | string | No | |
| ClSignFullNames2 | form | string | No | |
| Capacity2 | form | string | No | |
| MustSign | form | string | No | |
| SignedAt | form | string | No | |
| Status | form | string | No | |
| CifNumber | form | string | No | |
| ZarAccountNumber | form | string | No | |
| FcaAccountNumber1 | form | string | No | |
| FcaAccountNumber2 | form | string | No | |
| FaceToFace | form | bool? | No | |
| NonFaceToFace | form | bool? | No | |
| BrokerIntroduced | form | bool? | No | |
| TradingAccount | form | bool? | No | |
| Resident | form | bool? | No | |
| NonResident | form | bool? | No | |
| EmigrantBlockedAccount | form | bool? | No | |
| EbaSavings | form | bool? | No | |
| EbaCurrent | form | bool? | No | |
| EbaTradingAccount | form | bool? | No | |
| ExternalReference | form | string | No | |
| GeoCode | form | string | No | |
| ExchangeControl1 | form | bool? | No | |
| ExchangeControl2 | form | bool? | No | |
| ExchangeControl3 | form | bool? | No | |
| TheAgent | form | string | No | |
| IpIntroducer | form | string | No | |
| IsSwitchClient | form | bool? | No | |
| PreviousIntermediary | form | string | No | |
| ResignationDate | form | DateTime? | No | |
| IsPartnerClient | form | bool? | No | |
| ClientAllocatedToPartner | form | bool? | No | |
| HavePopiPermission | form | bool? | No | |
| IsSanctionsCheckComplete | form | bool? | No | |
| SanctionsScreen | form | string | No | |
| HasForm25Data | form | bool? | No | |
| HasClientTcc | form | bool? | No | |
| HasClientTccPending | form | bool? | No | |
| HasHadClientTcc | form | bool? | No | |
| IsDeactivated | form | bool? | No | |
| DeactivatedDate | form | DateTime? | No | |
| DiscretionaryAllowance | form | decimal? | No | |
| DaStartDate | form | DateTime? | No | |
| DaEndDate | form | DateTime? | No | |
| ProgressOne | form | bool? | No | |
| ProgressTwo | form | bool? | No | |
| ProgressThree | form | bool? | No | |
| IsEditing | form | bool? | No | |
| HasFicaUpload | form | bool? | No | |
| CreatedByUserId | form | int | No | |
| CompletedNotificationSent | form | bool? | No | |
| HigherRiskClientsChecksDone | form | bool? | No | |
| LessAnnual100k | form | bool? | No | |
| LessAnnual250k | form | bool? | No | |
| LessAnnual500k | form | bool? | No | |
| LessAnnual1mil | form | bool? | No | |
| MoreAnnual1mil | form | bool? | No | |
| SpotForeignExchange | form | bool? | No | |
| ForwardExchange | form | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| PartnerName | form | string | No | |
| RegNo | form | string | No | |
| FspNo | form | string | No | |
| LandobyteName | form | string | No | |
| ShortName | form | string | No | |
| IsSubAdvisor | form | string | No | |
| ParentPartner | form | string | No | |
| Address | form | string | No | |
| Suburb | form | string | No | |
| City | form | string | No | |
| Province | form | string | No | |
| PostalCode | form | string | No | |
| PartnerContactNumber | form | string | No | |
| WebsiteUrl | form | string | No | |
| MainContact | form | string | No | |
| ContactEmail | form | string | No | |
| ContactMobile | form | string | No | |
| PartnerLogoUrl | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | bool | No | |
| Message | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /retail_client/edit HTTP/1.1
Host: api.fxlink.co.za
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"retailClient":{"id":0,"partnerId":0,"partnerIds":[0],"partnerName":"String","clientType":"String","firstName":"String","middleName":"String","lastName":"String","fullNames":"String String String","firstLastName":"String String","title":"String","gender":"String","race":"String","residencyStatus":"String","taxRefNumber":"String","idNumber":"String","dateOfBirth":"0001-01-01","placeOfBirth":"String","nationality":"String","countryOfResidence":"String","passportNumber":"String","passportIssueDate":"0001-01-01","passportExpiryDate":"0001-01-01","passportCountry":"String","tempResNumber":"String","tempResDate":"String","emailAddress":"String","contactNumber1":"String","contactNumber2":"String","contactNumber3":"String","address":"String","suburb":"String","city":"String","province":"String","postalCode":"String","country":"String","postalSameAsStreet":false,"postalAddress":"String","postalSuburb":"String","postalCity":"String","postalProvince":"String","postalPostalCode":"String","postalCountry":"String","isSoleProprietor":false,"tradingSameAsStreet":false,"tradingAddress":"String","tradingSuburb":"String","tradingCity":"String","tradingProvince":"String","tradingPostalCode":"String","tradingCountry":"String","occupation":"String","occupationSpecify":"String","designation":"String","designationSpecify":"String","businessType":"String","isZarAccount":false,"fcaRequired":false,"fcaCurrency1":"String","fcaCurrency2":"String","fcaDetails":"String","tradeLimit":"String","lessR10k":false,"lessR20k":false,"lessR50k":false,"lessR100k":false,"moreR100k":false,"monthlyIncome":"String","accountPurpose":"String","sourceOfFunds":"String","sourceOfFundsSpecify":"String","sourceOfWealth":"String","sourceOfWealthSpecify":"String","accountDomicile":"String","thirdPartyAccount":"String","investmentValue":"String","usPersonYes":false,"usPersonNo":false,"tinNumber":"String","exSaTaxResidentYes":false,"exSaTaxResidentNo":false,"country1":"String","tinNumber1":"String","country2":"String","tinNumber2":"String","currentDate":"0001-01-01","multipleSignatories":false,"capacity1":"String","clSignFullNames2":"String","capacity2":"String","mustSign":"String","signedAt":"String","status":"String","cifNumber":"String","zarAccountNumber":"String","fcaAccountNumber1":"String","fcaAccountNumber2":"String","faceToFace":false,"nonFaceToFace":false,"brokerIntroduced":false,"tradingAccount":false,"resident":false,"nonResident":false,"emigrantBlockedAccount":false,"ebaSavings":false,"ebaCurrent":false,"ebaTradingAccount":false,"externalReference":"String","geoCode":"String","exchangeControl1":false,"exchangeControl2":false,"exchangeControl3":false,"theAgent":"String","ipIntroducer":"String","isSwitchClient":false,"previousIntermediary":"String","resignationDate":"0001-01-01","isPartnerClient":false,"clientAllocatedToPartner":false,"havePopiPermission":false,"isSanctionsCheckComplete":false,"sanctionsScreen":"String","hasForm25Data":false,"hasClientTcc":false,"hasClientTccPending":false,"hasHadClientTcc":false,"isDeactivated":false,"deactivatedDate":"0001-01-01","discretionaryAllowance":0,"daStartDate":"0001-01-01","daEndDate":"0001-01-01","progressOne":false,"progressTwo":false,"progressThree":false,"isEditing":false,"hasFicaUpload":false,"createdByUserId":0,"completedNotificationSent":false,"higherRiskClientsChecksDone":false,"lessAnnual100k":false,"lessAnnual250k":false,"lessAnnual500k":false,"lessAnnual1mil":false,"moreAnnual1mil":false,"spotForeignExchange":false,"forwardExchange":false},"partnerIds":[0],"partners":{"id":0,"partnerName":"String","regNo":"String","fspNo":"String","landobyteName":"String","shortName":"String","isSubAdvisor":"String","parentPartner":"String","address":"String","suburb":"String","city":"String","province":"String","postalCode":"String","partnerContactNumber":"String","websiteUrl":"String","mainContact":"String","contactEmail":"String","contactMobile":"String","partnerLogoUrl":"String"}}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"result":false,"message":"String"}