Portal

<back to all web services

BrowseAllSupplierMainActivity

The following routes are available for this service:
GET/supplier/{supplierid}/mainactivity

export class ResponseBase
{
    public ResponseStatus: ResponseStatus;

    public constructor(init?: Partial<ResponseBase>) { (Object as any).assign(this, init); }
}

export class ModifyRequestBase implements IConcurrencyStamp
{
    public ConcurrencyStamp: string;

    public constructor(init?: Partial<ModifyRequestBase>) { (Object as any).assign(this, init); }
}

export class MainActivityBase extends ModifyRequestBase
{
    public Teaor: string;
    public Description: string;

    public constructor(init?: Partial<MainActivityBase>) { super(init); (Object as any).assign(this, init); }
}

export class MainActivityDetails extends MainActivityBase
{
    public Id: number;
    public SupplierId: number;

    public constructor(init?: Partial<MainActivityDetails>) { super(init); (Object as any).assign(this, init); }
}

export class BrowseAllSupplierMainActivityResponse extends ResponseBase
{
    public MainActivities: MainActivityDetails[];

    public constructor(init?: Partial<BrowseAllSupplierMainActivityResponse>) { super(init); (Object as any).assign(this, init); }
}

export class BrowseAllSupplierMainActivity implements IGet
{
    public SupplierId: number;

    public constructor(init?: Partial<BrowseAllSupplierMainActivity>) { (Object as any).assign(this, init); }
}

TypeScript BrowseAllSupplierMainActivity DTOs

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 /supplier/{supplierid}/mainactivity HTTP/1.1 
Host: szallitoiportal-be.veolia.hu 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	MainActivities: 
	[
		{
			Id: 0,
			SupplierId: 0,
			Teaor: String,
			Description: String,
			ConcurrencyStamp: String
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}