POST api/Referral/AddSubscription
Request Information
URI Parameters
None.
Body Parameters
SubscriptionName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
string |
None. |
||
Phone | string |
None. |
|
CountryCode | string |
None. |
|
Country | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "81f9c405-2a18-41d4-bcc0-bc7b09c1b7e7", "Email": "sample string 2", "Phone": "sample string 3", "CountryCode": "sample string 4", "Country": 5 }
application/xml, text/xml
Sample:
<Subscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common"> <Country>5</Country> <CountryCode>sample string 4</CountryCode> <Email>sample string 2</Email> <ID>81f9c405-2a18-41d4-bcc0-bc7b09c1b7e7</ID> <Phone>sample string 3</Phone> </Subscription>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>