POST api/transactions/{clubId}/{membNum}/Contracts
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clubId | string |
Required |
|
| membNum | string |
Required |
Body Parameters
Contracts| Name | Description | Type | Additional information |
|---|---|---|---|
| BuyerInfo | Buyer |
None. |
|
| MemberInfo | Person |
None. |
|
| AlternateContact | Collection of AlternateContact |
None. |
|
| DownPayment | Payment |
None. |
|
| RecurringEFT | Payment |
None. |
|
| ClubId | string |
None. |
|
| OptInForSms | boolean |
None. |
|
| IPAddress | string |
None. |
|
| ReferredByClubId | string |
None. |
|
| ReferredByMembNum | string |
None. |
|
| ExistingClubId | string |
None. |
|
| ExistingMembNum | string |
None. |
|
| GuestId | decimal number |
None. |
|
| ContractNumber | string |
None. |
|
| AddOnAmount | decimal number |
None. |
|
| MembershipId | Collection of MembershipId |
None. |
|
| Signature | Collection of Signature |
None. |
|
| Barcode | string |
None. |
|
| CorporateCode | string |
None. |
|
| APIOrigin | string |
None. |
|
| UpgradeId | decimal number |
None. |
|
| PrimaryClubId | string |
None. |
|
| PrimaryMembNum | string |
None. |
|
| ProrateId | string |
None. |
|
| AddonCredit | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"buyerInfo": {
"address": "sample string 1",
"city": "sample string 2",
"state": "sample string 3",
"zipCode": "sample string 4",
"homePhone": "sample string 5",
"workPhone": "sample string 6",
"cellPhone": "sample string 7",
"driverLicense": "sample string 8",
"driverLicenseExpiration": "sample string 9",
"firstName": "sample string 10",
"lastName": "sample string 11",
"email": "sample string 12",
"gender": "sample string 13",
"birthdate": "sample string 14"
},
"memberInfo": {
"firstName": "sample string 1",
"lastName": "sample string 2",
"email": "sample string 3",
"gender": "sample string 4",
"birthdate": "sample string 5",
"cellPhone": "sample string 6"
},
"alternateContact": [
{
"firstName": "sample string 1",
"lastName": "sample string 2",
"relationship": "sample string 3",
"contactPhone": "sample string 4"
},
{
"firstName": "sample string 1",
"lastName": "sample string 2",
"relationship": "sample string 3",
"contactPhone": "sample string 4"
}
],
"downPayment": {
"accountNumber": "sample string 1",
"routingNumber": "sample string 2",
"eftType": "sample string 3",
"token": "sample string 4",
"cvV2": "sample string 5",
"billingZipCode": "sample string 6",
"expirationDate": "sample string 7",
"nameOnAccount": "sample string 8",
"amount": 9.0,
"dueDate": "sample string 10",
"transactionId": "sample string 11",
"stationId": "sample string 12",
"cashPaidOut": 13.0,
"paymentInfo": {
"accountNumber": "sample string 1",
"routingNumber": "sample string 2",
"eftType": "sample string 3",
"token": "sample string 4",
"cvV2": "sample string 5",
"billingZipCode": "sample string 6",
"expirationDate": "sample string 7",
"nameOnAccount": "sample string 8",
"amount": 9.0,
"dueDate": null,
"transactionId": null,
"approvalCode": null
},
"image": "QEA=",
"verbiage": "sample string 14",
"type": "sample string 15",
"verbiageId": 16
},
"recurringEFT": {
"accountNumber": "sample string 1",
"routingNumber": "sample string 2",
"eftType": "sample string 3",
"token": "sample string 4",
"cvV2": "sample string 5",
"billingZipCode": "sample string 6",
"expirationDate": "sample string 7",
"nameOnAccount": "sample string 8",
"amount": 9.0,
"dueDate": "sample string 10",
"transactionId": "sample string 11",
"stationId": "sample string 12",
"cashPaidOut": 13.0,
"paymentInfo": {
"accountNumber": "sample string 1",
"routingNumber": "sample string 2",
"eftType": "sample string 3",
"token": "sample string 4",
"cvV2": "sample string 5",
"billingZipCode": "sample string 6",
"expirationDate": "sample string 7",
"nameOnAccount": "sample string 8",
"amount": 9.0,
"dueDate": null,
"transactionId": null,
"approvalCode": null
},
"image": "QEA=",
"verbiage": "sample string 14",
"type": "sample string 15",
"verbiageId": 16
},
"clubId": "sample string 1",
"optInForSms": true,
"ipAddress": "sample string 3",
"referredByClubId": "sample string 4",
"referredByMembNum": "sample string 5",
"existingClubId": "sample string 6",
"existingMembNum": "sample string 7",
"guestId": 8.0,
"contractNumber": "sample string 9",
"addOnAmount": 10.0,
"membershipId": [
{
"id": 1,
"downPaymentAmount": 2.0,
"addOns": [
{
"addOnMembershipBundles": [
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
},
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
}
],
"membNum": "sample string 1",
"barcode": "sample string 2",
"cellPhone": "sample string 3",
"firstName": "sample string 4",
"lastName": "sample string 5",
"email": "sample string 6",
"gender": "sample string 7",
"birthdate": "sample string 8"
},
{
"addOnMembershipBundles": [
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
},
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
}
],
"membNum": "sample string 1",
"barcode": "sample string 2",
"cellPhone": "sample string 3",
"firstName": "sample string 4",
"lastName": "sample string 5",
"email": "sample string 6",
"gender": "sample string 7",
"birthdate": "sample string 8"
}
],
"salesCredit": [
{
"clubAt": "sample string 1",
"autoGenerateEmployeeId": true,
"employeeId": "sample string 3",
"name": "sample string 4",
"hireDate": "sample string 5",
"birthDate": "sample string 6",
"terminationDate": "sample string 7",
"onLeaveDate": "sample string 8",
"leaveReturnDate": "sample string 9",
"jobType": "sample string 10",
"homePhone": "sample string 11",
"cellPhone": "sample string 12",
"workPhone": "sample string 13",
"email": "sample string 14",
"gender": "sample string 15",
"address": "sample string 16",
"address2": "sample string 17",
"city": "sample string 18",
"state": "sample string 19",
"zipCode": "sample string 20",
"editBy": "sample string 21",
"clubId": "sample string 22",
"membNum": "sample string 23"
},
{
"clubAt": "sample string 1",
"autoGenerateEmployeeId": true,
"employeeId": "sample string 3",
"name": "sample string 4",
"hireDate": "sample string 5",
"birthDate": "sample string 6",
"terminationDate": "sample string 7",
"onLeaveDate": "sample string 8",
"leaveReturnDate": "sample string 9",
"jobType": "sample string 10",
"homePhone": "sample string 11",
"cellPhone": "sample string 12",
"workPhone": "sample string 13",
"email": "sample string 14",
"gender": "sample string 15",
"address": "sample string 16",
"address2": "sample string 17",
"city": "sample string 18",
"state": "sample string 19",
"zipCode": "sample string 20",
"editBy": "sample string 21",
"clubId": "sample string 22",
"membNum": "sample string 23"
}
],
"membershipBundles": [
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
},
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
}
],
"signatures": [
{
"image": "QEA=",
"verbiage": "sample string 1",
"type": "sample string 2",
"verbiageId": 3
},
{
"image": "QEA=",
"verbiage": "sample string 1",
"type": "sample string 2",
"verbiageId": 3
}
]
},
{
"id": 1,
"downPaymentAmount": 2.0,
"addOns": [
{
"addOnMembershipBundles": [
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
},
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
}
],
"membNum": "sample string 1",
"barcode": "sample string 2",
"cellPhone": "sample string 3",
"firstName": "sample string 4",
"lastName": "sample string 5",
"email": "sample string 6",
"gender": "sample string 7",
"birthdate": "sample string 8"
},
{
"addOnMembershipBundles": [
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
},
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
}
],
"membNum": "sample string 1",
"barcode": "sample string 2",
"cellPhone": "sample string 3",
"firstName": "sample string 4",
"lastName": "sample string 5",
"email": "sample string 6",
"gender": "sample string 7",
"birthdate": "sample string 8"
}
],
"salesCredit": [
{
"clubAt": "sample string 1",
"autoGenerateEmployeeId": true,
"employeeId": "sample string 3",
"name": "sample string 4",
"hireDate": "sample string 5",
"birthDate": "sample string 6",
"terminationDate": "sample string 7",
"onLeaveDate": "sample string 8",
"leaveReturnDate": "sample string 9",
"jobType": "sample string 10",
"homePhone": "sample string 11",
"cellPhone": "sample string 12",
"workPhone": "sample string 13",
"email": "sample string 14",
"gender": "sample string 15",
"address": "sample string 16",
"address2": "sample string 17",
"city": "sample string 18",
"state": "sample string 19",
"zipCode": "sample string 20",
"editBy": "sample string 21",
"clubId": "sample string 22",
"membNum": "sample string 23"
},
{
"clubAt": "sample string 1",
"autoGenerateEmployeeId": true,
"employeeId": "sample string 3",
"name": "sample string 4",
"hireDate": "sample string 5",
"birthDate": "sample string 6",
"terminationDate": "sample string 7",
"onLeaveDate": "sample string 8",
"leaveReturnDate": "sample string 9",
"jobType": "sample string 10",
"homePhone": "sample string 11",
"cellPhone": "sample string 12",
"workPhone": "sample string 13",
"email": "sample string 14",
"gender": "sample string 15",
"address": "sample string 16",
"address2": "sample string 17",
"city": "sample string 18",
"state": "sample string 19",
"zipCode": "sample string 20",
"editBy": "sample string 21",
"clubId": "sample string 22",
"membNum": "sample string 23"
}
],
"membershipBundles": [
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
},
{
"bundleID": 1.0,
"bundleDescription": "sample string 2",
"bundleAmount": 3.0,
"bundleSelected": true,
"bundleRequired": true,
"bundleTaxable": true,
"bundleCategory": "sample string 7",
"bundleTax": 8.0,
"bundleShortDescription": "sample string 9",
"id": 10.0
}
],
"signatures": [
{
"image": "QEA=",
"verbiage": "sample string 1",
"type": "sample string 2",
"verbiageId": 3
},
{
"image": "QEA=",
"verbiage": "sample string 1",
"type": "sample string 2",
"verbiageId": 3
}
]
}
],
"signature": [
{
"image": "QEA=",
"verbiage": "sample string 1",
"type": "sample string 2",
"verbiageId": 3
},
{
"image": "QEA=",
"verbiage": "sample string 1",
"type": "sample string 2",
"verbiageId": 3
}
],
"barcode": "sample string 11",
"corporateCode": "sample string 12",
"apiOrigin": "sample string 13",
"upgradeId": 14.0,
"primaryClubId": "sample string 15",
"primaryMembNum": "sample string 16",
"prorateId": "sample string 17",
"addonCredit": 18.0
}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |