POST api/Client/AddClientInterest?clientId={clientId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId | integer |
Required |
Body Parameters
Collection of Interest| Name | Description | Type | Additional information |
|---|---|---|---|
| InterestId | integer |
Required |
|
| InterestName | string |
Required Max length: 50 |
|
| IsActive | boolean |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"InterestId": 1,
"InterestName": "sample string 2",
"IsActive": true
},
{
"InterestId": 1,
"InterestName": "sample string 2",
"IsActive": true
}
]
text/html, multipart/form-data
Sample:
[{"InterestId":1,"InterestName":"sample string 2","IsActive":true},{"InterestId":1,"InterestName":"sample string 2","IsActive":true}]
application/xml, text/xml
Sample:
<ArrayOfInterest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge.Entities">
<Interest>
<InterestId>1</InterestId>
<InterestName>sample string 2</InterestName>
<IsActive>true</IsActive>
</Interest>
<Interest>
<InterestId>1</InterestId>
<InterestName>sample string 2</InterestName>
<IsActive>true</IsActive>
</Interest>
</ArrayOfInterest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html, multipart/form-data
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />