Net3 API Interface for Customer Portal

<back to all web services

LoginUserMembership

Login User Memberships Actions

Requires Authentication
The following routes are available for this service:
GET/user/{userId}/membershipsRetrieve Memberships for a User.
POST/user/{userId}/membershipsCreate Membership for a User.
GET/user/{userId}/memberships/{membershipId}Retrieve specific Membership for a User.
PUT/user/{userId}/memberships/{membershipId}Update specific Membership for a User.
DELETE/user/{userId}/memberships/{membershipId}Retrieve Memberships for a User.
TypeMembership Parameters:
NameParameterData TypeRequiredDescription
MembershipIdformintNo
ApplicationIdformGuidNo
ApplicationLocationIdformGuidNo
UserIdformGuidNo
UsernameformstringNo
PasswordformstringNo
PasswordFormatformintNo
PasswordSaleformstringNo
MobilePINformstringNo
EmailformstringNo
LoweredEmailformstringNo
PasswordQuestionformstringNo
PasswordAnswerformstringNo
IsApprovedformboolNo
IsLockedOutformboolNo
CreateDateformDateTimeNo
LastLoginDateformDateTimeNo
LastPasswordChangedDateformDateTimeNo
LastLockoutDateformDateTimeNo
FailedPasswordAttemptCountformintNo
FailedPasswordAttemptWindowStartformDateTimeNo
FailedPasswordAnswerAttemptCountformintNo
FailedPasswordAnswerAttemptWindowStartformDateTimeNo
CommentformstringNo
IsEncryptedformboolNo
IsDefaultformboolNo
UpdatePasswordformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /user/{userId}/memberships HTTP/1.1 
Host: n3tapi.palmettovdc.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"membershipId":0,"applicationId":"00000000000000000000000000000000","applicationLocationId":"00000000000000000000000000000000","userId":"00000000000000000000000000000000","username":"String","password":"String","passwordFormat":0,"passwordSale":"String","mobilePIN":"String","email":"String","loweredEmail":"String","passwordQuestion":"String","passwordAnswer":"String","isApproved":false,"isLockedOut":false,"createDate":"\/Date(-62135596800000-0000)\/","lastLoginDate":"\/Date(-62135596800000-0000)\/","lastPasswordChangedDate":"\/Date(-62135596800000-0000)\/","lastLockoutDate":"\/Date(-62135596800000-0000)\/","failedPasswordAttemptCount":0,"failedPasswordAttemptWindowStart":"\/Date(-62135596800000-0000)\/","failedPasswordAnswerAttemptCount":0,"failedPasswordAnswerAttemptWindowStart":"\/Date(-62135596800000-0000)\/","comment":"String","isEncrypted":false,"isDefault":false,"updatePassword":false}