<back to all web services
GetOwnershipTypes
Lookup Data - Merchant Details
Requires Authentication
| Requires any of the roles: | Reseller, Merchant |
The following routes are available for this service:| GET | /lookup/ownershiptypes | Gets a list of company ownership types | |
|---|
GetOwnershipTypesResult Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| OwnershipTypes | model | List<string> | No | A collection of ownership types. |
| Pagination | model | PaginationStats | No | Pagination stats regarding the result set. |
PaginationStats Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| CurrentPageNumber | form | int | No | |
| PageSize | form | int | No | |
| TotalRecordCount | form | int | No | |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /lookup/ownershiptypes HTTP/1.1
Host: syntch.simpay.net
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
OwnershipTypes:
[
String
],
Pagination:
{
CurrentPageNumber: 0,
PageSize: 0,
TotalRecordCount: 0
}
}