POST rest/v1/subscription/purchaseorder/subscribe
Request Information
URI Parameters
None.
Body Parameters
ContactAddressName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
SubId | integer |
None. |
|
UserGrade | string |
None. |
|
SchoolName | string |
None. |
|
Address | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
ZipCode | string |
None. |
|
PhoneNumber | string |
None. |
|
ContactType | string |
None. |
|
SubProductId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "e5ca422a-f416-42af-b3f0-31cbbcd4acf3", "SubId": 2, "UserGrade": "sample string 3", "SchoolName": "sample string 4", "Address": "sample string 5", "City": "sample string 6", "State": "sample string 7", "ZipCode": "sample string 8", "PhoneNumber": "sample string 9", "ContactType": "sample string 10", "SubProductId": 11 }
application/xml, text/xml
Sample:
<ContactAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Subscriptions.HMH.Common.APIEntities"> <Address>sample string 5</Address> <City>sample string 6</City> <ContactType>sample string 10</ContactType> <PhoneNumber>sample string 9</PhoneNumber> <SchoolName>sample string 4</SchoolName> <State>sample string 7</State> <SubId>2</SubId> <SubProductId>11</SubProductId> <UserGrade>sample string 3</UserGrade> <UserId>e5ca422a-f416-42af-b3f0-31cbbcd4acf3</UserId> <ZipCode>sample string 8</ZipCode> </ContactAddress>
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>