Entity Description:
UserType is the profile information about the User that is used in PoliteMail for sending tracked email and Metric information.
Properties
Name | Description | Type | Additional Information |
ID | Int32 | ||
Name | String |
Entity Statement
Creating an UserType | |
Request | |
POST /ssv3/odata/UserTypes | |
Content-Type | |
application/json | |
Request body | |
{ “ID”:”0″,”Name”:”New User Type” } |
|
Response body | |
{ “ID”:1,”Name”:”New User Type” } |
|
Deleting an UserType | |
Request | |
DELETE /ssv3/odata/UserTypes(1) | |
Response Headers | |
HTTP/1.1 204 No Content | |
Getting an UserType | |
Request | |
GET /ssv3/odata/UserTypes(1) | |
Content-Type | |
application/json | |
Response body | |
{ “ID”:1,”Name”:”New User Type” } |
|
Updating an UserType | |
Request | |
PUT /ssv3/odata/UserTypes(1) | |
Content-Type | |
application/json | |
Request body | |
{ “ID”:”0″,”Name”:”New User Type” } |
|
Response Headers | |
HTTP/1.1 204 No Content | |
Getting all UserTypes | |
Request | |
GET /ssv3/odata/Lists | |
Content-Type | |
application/json | |
Response body | |
“value”:[{ “ID”:0,”Name”:”New User Type” },{ “ID”:1,”Name”:”New User Type” }] |