PortfolioLinkApi

<back to all web services

GetUserApiKeys

Requires Authentication
The following routes are available for this service:
All Verbs/secret/userapikeys
GetUserApiKeysResponse Parameters:
NameParameterData TypeRequiredDescription
ResultsformList<ApiKey>No
ApiKey Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
UserAuthIdformstringNo
EnvironmentformstringNo
KeyTypeformstringNo
CreatedDateformDateTimeNo
ExpiryDateformDateTime?No
CancelledDateformDateTime?No
NotesformstringNo
RefIdformint?No
RefIdStrformstringNo
MetaformDictionary<string, string>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.

POST /secret/userapikeys HTTP/1.1 
Host: api.portfoliolink.co.za 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	results: 
	[
		{
			id: String,
			userAuthId: String,
			environment: String,
			keyType: String,
			createdDate: 0001-01-01,
			expiryDate: 0001-01-01,
			cancelledDate: 0001-01-01,
			notes: String,
			refId: 0,
			refIdStr: String,
			meta: 
			{
				String: String
			}
		}
	]
}