POST api/v1/memberships/{email}
For clients that cannot send a GET with a body.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
string |
Required |
Body Parameters
MembershipBindingModelName | Description | Type | Additional information |
---|---|---|---|
Authentication | AuthenticationModel |
Required |
Request Formats
application/json, text/json
Sample:
{ "Authentication": { "Id": "170200123", "Key": "467512342123" } }
application/xml, text/xml
Sample:
<MembershipBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Payments.Api.Models"> <Authentication> <Id>170200123</Id> <Key>467512342123</Key> </Authentication> </MembershipBindingModel>
Response Information
Resource Description
MembershipOutgoingModelName | Description | Type | Additional information |
---|---|---|---|
Message | MessageModel |
None. |
|
Response | IMembershipResponseModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": { "Code": "sample string 1", "Description": "sample string 2" }, "Response": null }
application/xml, text/xml
Sample:
<MembershipOutgoingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Payments.Api.Models"> <Message> <Code>sample string 1</Code> <Description>sample string 2</Description> </Message> <Response i:nil="true" /> </MembershipOutgoingModel>