POST api/Subscribe/ProcessGift
Request Information
URI Parameters
None.
Body Parameters
DONOR| Name | Description | Type | Additional information |
|---|---|---|---|
| CUSTID | string |
None. |
|
| CARD | string |
None. |
|
| EXPIRE | string |
None. |
|
| CARDNUM | string |
None. |
|
| addGift | RECIP |
None. |
|
| RECIPS | Collection of RECIP |
None. |
|
| GIFTAMT | decimal number |
None. |
|
| KEY | string |
None. |
|
| CONTACT | string |
None. |
|
| ORDER_ID | string |
None. |
|
| AddressID | integer |
None. |
|
| FIRST | string |
None. |
|
| LAST | string |
None. |
|
| COMPANY | string |
None. |
|
| ADDRESS1 | string |
None. |
|
| ADDRESS2 | string |
None. |
|
| ADDRESS3 | string |
None. |
|
| CITY | string |
None. |
|
| STATE | string |
None. |
|
| ZIP | string |
None. |
|
| COUNTRY | string |
None. |
|
| COUNTRY_CODE | string |
None. |
|
| string |
None. |
||
| PHONE | string |
None. |
|
| BFIRST | string |
None. |
|
| BLAST | string |
None. |
|
| BCOMPANY | string |
None. |
|
| BADDRESS1 | string |
None. |
|
| BADDRESS2 | string |
None. |
|
| BCITY | string |
None. |
|
| BSTATE | string |
None. |
|
| BZIP | string |
None. |
|
| BCOUNTRY | string |
None. |
|
| BILLDIFF | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CUSTID": "sample string 1",
"CARD": "sample string 2",
"EXPIRE": "sample string 3",
"CARDNUM": "sample string 4",
"RECIPS": [
{
"CUSTID": "sample string 1",
"AMOUNT": 2.0,
"TERM": "sample string 3",
"KEY": "sample string 4",
"EDITION": "sample string 5",
"RECIP_ID": 6,
"PASSWORD": "sample string 7",
"SUB": "sample string 8",
"AddressID": 9,
"FIRST": "sample string 10",
"LAST": "sample string 11",
"COMPANY": "sample string 12",
"ADDRESS1": "sample string 13",
"ADDRESS2": "sample string 14",
"ADDRESS3": "sample string 15",
"CITY": "sample string 16",
"STATE": "sample string 17",
"ZIP": "sample string 18",
"COUNTRY": "sample string 19",
"COUNTRY_CODE": "sample string 20",
"EMAIL": "sample string 21",
"PHONE": "sample string 22",
"BFIRST": "sample string 23",
"BLAST": "sample string 24",
"BCOMPANY": "sample string 25",
"BADDRESS1": "sample string 26",
"BADDRESS2": "sample string 27",
"BCITY": "sample string 28",
"BSTATE": "sample string 29",
"BZIP": "sample string 30",
"BCOUNTRY": "sample string 31",
"BILLDIFF": "sample string 32"
},
{
"CUSTID": "sample string 1",
"AMOUNT": 2.0,
"TERM": "sample string 3",
"KEY": "sample string 4",
"EDITION": "sample string 5",
"RECIP_ID": 6,
"PASSWORD": "sample string 7",
"SUB": "sample string 8",
"AddressID": 9,
"FIRST": "sample string 10",
"LAST": "sample string 11",
"COMPANY": "sample string 12",
"ADDRESS1": "sample string 13",
"ADDRESS2": "sample string 14",
"ADDRESS3": "sample string 15",
"CITY": "sample string 16",
"STATE": "sample string 17",
"ZIP": "sample string 18",
"COUNTRY": "sample string 19",
"COUNTRY_CODE": "sample string 20",
"EMAIL": "sample string 21",
"PHONE": "sample string 22",
"BFIRST": "sample string 23",
"BLAST": "sample string 24",
"BCOMPANY": "sample string 25",
"BADDRESS1": "sample string 26",
"BADDRESS2": "sample string 27",
"BCITY": "sample string 28",
"BSTATE": "sample string 29",
"BZIP": "sample string 30",
"BCOUNTRY": "sample string 31",
"BILLDIFF": "sample string 32"
}
],
"GIFTAMT": 4.0,
"KEY": "sample string 5",
"CONTACT": "sample string 6",
"ORDER_ID": "sample string 7",
"AddressID": 8,
"FIRST": "sample string 9",
"LAST": "sample string 10",
"COMPANY": "sample string 11",
"ADDRESS1": "sample string 12",
"ADDRESS2": "sample string 13",
"ADDRESS3": "sample string 14",
"CITY": "sample string 15",
"STATE": "sample string 16",
"ZIP": "sample string 17",
"COUNTRY": "sample string 18",
"COUNTRY_CODE": "sample string 19",
"EMAIL": "sample string 20",
"PHONE": "sample string 21",
"BFIRST": "sample string 22",
"BLAST": "sample string 23",
"BCOMPANY": "sample string 24",
"BADDRESS1": "sample string 25",
"BADDRESS2": "sample string 26",
"BCITY": "sample string 27",
"BSTATE": "sample string 28",
"BZIP": "sample string 29",
"BCOUNTRY": "sample string 30",
"BILLDIFF": "sample string 31"
}
text/xml
Sample:
<DONOR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
<ADDRESS1>sample string 12</ADDRESS1>
<ADDRESS2>sample string 13</ADDRESS2>
<ADDRESS3>sample string 14</ADDRESS3>
<AddressID>8</AddressID>
<BADDRESS1>sample string 25</BADDRESS1>
<BADDRESS2>sample string 26</BADDRESS2>
<BCITY>sample string 27</BCITY>
<BCOMPANY>sample string 24</BCOMPANY>
<BCOUNTRY>sample string 30</BCOUNTRY>
<BFIRST>sample string 22</BFIRST>
<BILLDIFF>sample string 31</BILLDIFF>
<BLAST>sample string 23</BLAST>
<BSTATE>sample string 28</BSTATE>
<BZIP>sample string 29</BZIP>
<CITY>sample string 15</CITY>
<COMPANY>sample string 11</COMPANY>
<COUNTRY>sample string 18</COUNTRY>
<COUNTRY_CODE>sample string 19</COUNTRY_CODE>
<EMAIL>sample string 20</EMAIL>
<FIRST>sample string 9</FIRST>
<LAST>sample string 10</LAST>
<PHONE>sample string 21</PHONE>
<STATE>sample string 16</STATE>
<ZIP>sample string 17</ZIP>
<CARD>sample string 2</CARD>
<CARDNUM>sample string 4</CARDNUM>
<CONTACT>sample string 6</CONTACT>
<CUSTID>sample string 1</CUSTID>
<EXPIRE>sample string 3</EXPIRE>
<KEY>sample string 5</KEY>
<ORDER_ID>sample string 7</ORDER_ID>
<RECIPS>
<RECIP>
<ADDRESS1>sample string 13</ADDRESS1>
<ADDRESS2>sample string 14</ADDRESS2>
<ADDRESS3>sample string 15</ADDRESS3>
<AddressID>9</AddressID>
<BADDRESS1>sample string 26</BADDRESS1>
<BADDRESS2>sample string 27</BADDRESS2>
<BCITY>sample string 28</BCITY>
<BCOMPANY>sample string 25</BCOMPANY>
<BCOUNTRY>sample string 31</BCOUNTRY>
<BFIRST>sample string 23</BFIRST>
<BILLDIFF>sample string 32</BILLDIFF>
<BLAST>sample string 24</BLAST>
<BSTATE>sample string 29</BSTATE>
<BZIP>sample string 30</BZIP>
<CITY>sample string 16</CITY>
<COMPANY>sample string 12</COMPANY>
<COUNTRY>sample string 19</COUNTRY>
<COUNTRY_CODE>sample string 20</COUNTRY_CODE>
<EMAIL>sample string 21</EMAIL>
<FIRST>sample string 10</FIRST>
<LAST>sample string 11</LAST>
<PHONE>sample string 22</PHONE>
<STATE>sample string 17</STATE>
<ZIP>sample string 18</ZIP>
<AMOUNT>2</AMOUNT>
<CUSTID>sample string 1</CUSTID>
<EDITION>sample string 5</EDITION>
<KEY>sample string 4</KEY>
<PASSWORD>sample string 7</PASSWORD>
<RECIP_ID>6</RECIP_ID>
<SUB>sample string 8</SUB>
<TERM>sample string 3</TERM>
</RECIP>
<RECIP>
<ADDRESS1>sample string 13</ADDRESS1>
<ADDRESS2>sample string 14</ADDRESS2>
<ADDRESS3>sample string 15</ADDRESS3>
<AddressID>9</AddressID>
<BADDRESS1>sample string 26</BADDRESS1>
<BADDRESS2>sample string 27</BADDRESS2>
<BCITY>sample string 28</BCITY>
<BCOMPANY>sample string 25</BCOMPANY>
<BCOUNTRY>sample string 31</BCOUNTRY>
<BFIRST>sample string 23</BFIRST>
<BILLDIFF>sample string 32</BILLDIFF>
<BLAST>sample string 24</BLAST>
<BSTATE>sample string 29</BSTATE>
<BZIP>sample string 30</BZIP>
<CITY>sample string 16</CITY>
<COMPANY>sample string 12</COMPANY>
<COUNTRY>sample string 19</COUNTRY>
<COUNTRY_CODE>sample string 20</COUNTRY_CODE>
<EMAIL>sample string 21</EMAIL>
<FIRST>sample string 10</FIRST>
<LAST>sample string 11</LAST>
<PHONE>sample string 22</PHONE>
<STATE>sample string 17</STATE>
<ZIP>sample string 18</ZIP>
<AMOUNT>2</AMOUNT>
<CUSTID>sample string 1</CUSTID>
<EDITION>sample string 5</EDITION>
<KEY>sample string 4</KEY>
<PASSWORD>sample string 7</PASSWORD>
<RECIP_ID>6</RECIP_ID>
<SUB>sample string 8</SUB>
<TERM>sample string 3</TERM>
</RECIP>
</RECIPS>
</DONOR>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />