POST api/Interest/Save
Request Information
URI Parameters
None.
Body Parameters
InterestViewModelName | Description | Type | Additional information |
---|---|---|---|
Name | string |
Required Min length: 2 |
|
AccountId | string |
None. |
|
ContactIds | Collection of string |
None. |
|
LastContactAddedDate | date |
None. |
|
Id | string |
None. |
|
CreatedDate | date |
None. |
|
UpdatedDate | date |
None. |
|
CreatedBy | string |
None. |
|
UpdatedBy | string |
None. |
|
CreatedByUserId | string |
None. |
|
UpdatedByUserId | string |
None. |
|
IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "AccountId": "sample string 2", "ContactIds": [ "sample string 1", "sample string 2" ], "LastContactAddedDate": "2024-11-21T08:40:43.6972977+00:00", "Id": "sample string 3", "CreatedDate": "2024-11-21T08:40:43.6972977+00:00", "UpdatedDate": "2024-11-21T08:40:43.6972977+00:00", "CreatedBy": "sample string 6", "UpdatedBy": "sample string 7", "CreatedByUserId": "sample string 8", "UpdatedByUserId": "sample string 9", "IsDeleted": true }
application/xml, text/xml
Sample:
<InterestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel"> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 6</CreatedBy> <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 8</CreatedByUserId> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T08:40:43.6972977+00:00</CreatedDate> <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 3</Id> <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted> <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 7</UpdatedBy> <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 9</UpdatedByUserId> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T08:40:43.6972977+00:00</UpdatedDate> <AccountId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 2</AccountId> <ContactIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ContactIds> <LastContactAddedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-21T08:40:43.6972977+00:00</LastContactAddedDate> <Name>sample string 1</Name> </InterestViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.