POST api/Keyword/SaveReservedKeyword
Request Information
URI Parameters
None.
Body Parameters
ReservedKeywordViewModelName | Description | Type | Additional information |
---|---|---|---|
Text | string |
Required |
|
ReservedKeywordType | ReservedKeywordType |
None. |
|
ReservedDate | date |
None. |
|
IsPrimaryReserved | boolean |
None. |
|
ReservedNumbers | Collection of InboundNumbersDetail |
Required |
|
AccountId | string |
None. |
|
KeywordId | string |
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:
{ "Text": "sample string 1", "ReservedKeywordType": "System", "ReservedDate": "2024-11-20T17:46:16.0369757+00:00", "IsPrimaryReserved": true, "ReservedNumbers": [ { "RouteId": "sample string 1", "NumberId": "sample string 2", "CountryCode": "sample string 3", "Number": "sample string 4", "CountryId": "sample string 5", "CountryFlagURL": "sample string 6" }, { "RouteId": "sample string 1", "NumberId": "sample string 2", "CountryCode": "sample string 3", "Number": "sample string 4", "CountryId": "sample string 5", "CountryFlagURL": "sample string 6" } ], "AccountId": "sample string 4", "KeywordId": "sample string 5", "Id": "sample string 6", "CreatedDate": "2024-11-20T17:46:16.0369757+00:00", "UpdatedDate": "2024-11-20T17:46:16.0369757+00:00", "CreatedBy": "sample string 9", "UpdatedBy": "sample string 10", "CreatedByUserId": "sample string 11", "UpdatedByUserId": "sample string 12", "IsDeleted": true }
application/xml, text/xml
Sample:
<ReservedKeywordViewModel 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 9</CreatedBy> <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 11</CreatedByUserId> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-20T17:46:16.0369757+00:00</CreatedDate> <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 6</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 10</UpdatedBy> <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 12</UpdatedByUserId> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2024-11-20T17:46:16.0369757+00:00</UpdatedDate> <AccountId>sample string 4</AccountId> <IsPrimaryReserved>true</IsPrimaryReserved> <KeywordId>sample string 5</KeywordId> <ReservedDate>2024-11-20T17:46:16.0369757+00:00</ReservedDate> <ReservedKeywordType>System</ReservedKeywordType> <ReservedNumbers xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Shared.Common.Models"> <d2p1:InboundNumbersDetail> <d2p1:CountryCode>sample string 3</d2p1:CountryCode> <d2p1:CountryFlagURL>sample string 6</d2p1:CountryFlagURL> <d2p1:CountryId>sample string 5</d2p1:CountryId> <d2p1:Number>sample string 4</d2p1:Number> <d2p1:NumberId>sample string 2</d2p1:NumberId> <d2p1:RouteId>sample string 1</d2p1:RouteId> </d2p1:InboundNumbersDetail> <d2p1:InboundNumbersDetail> <d2p1:CountryCode>sample string 3</d2p1:CountryCode> <d2p1:CountryFlagURL>sample string 6</d2p1:CountryFlagURL> <d2p1:CountryId>sample string 5</d2p1:CountryId> <d2p1:Number>sample string 4</d2p1:Number> <d2p1:NumberId>sample string 2</d2p1:NumberId> <d2p1:RouteId>sample string 1</d2p1:RouteId> </d2p1:InboundNumbersDetail> </ReservedNumbers> <Text>sample string 1</Text> </ReservedKeywordViewModel>
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.