Trendsic Platform Service

<back to all web services

PmCatalogRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/pm/catalog
PmCatalogResponse Parameters:
NameParameterData TypeRequiredDescription
StatusesformList<PmCatalogItem>No
CrewformList<PmCatalogItem>No
CrewsformList<PmCatalogCrew>No
EquipmentformList<PmCatalogItem>No
MaterialsformList<PmCatalogItem>No
ResponseStatusformResponseStatusNo
PmCatalogItem Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
AmountformdoubleNo
PmCatalogCrew Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
MemberIdsformList<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 /v1/pm/catalog HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Statuses: 
	[
		{
			Id: 0,
			Name: String,
			Amount: 0
		}
	],
	Crew: 
	[
		{
			Id: 0,
			Name: String,
			Amount: 0
		}
	],
	Crews: 
	[
		{
			Id: 0,
			Name: String,
			MemberIds: 
			[
				0
			]
		}
	],
	Equipment: 
	[
		{
			Id: 0,
			Name: String,
			Amount: 0
		}
	],
	Materials: 
	[
		{
			Id: 0,
			Name: String,
			Amount: 0
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}