Class ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyOrdersOrderNumberByOrderNumberRequestBuilder
Properties
Protected
Readonly
args
args: { baseUri?: string; executeRequest: executeRequest; pathArgs: { associateId: string; businessUnitKey: string; orderNumber: string; projectKey: string; }; } Type declaration
Optional
baseUri?: string
pathArgs: {
associateId: string;
businessUnitKey: string;
orderNumber: string;
projectKey: string;
}
associateId: string
businessUnitKey: string
orderNumber: string
projectKey: string
Methods
get
- get(methodArgs?): ApiRequest<Order>
Parameters
Optional
methodArgs: {
headers?: {
[key: string]: string | string[];
};
queryArgs?: {
expand?: string | string[];
[key: string]: QueryParam;
};
}Optional
headers?: {
[key: string]: string | string[];
}
[key: string]: string | string[]
Optional
queryArgs?: {
expand?: string | string[];
[key: string]: QueryParam;
}
Optional
expand?: string | string[]
Returns ApiRequest<Order>
head
- head(methodArgs?): ApiRequest<void>
Parameters
Optional
methodArgs: {
headers?: {
[key: string]: string | string[];
};
}Optional
headers?: {
[key: string]: string | string[];
}
[key: string]: string | string[]
Returns ApiRequest<void>
post
- post(methodArgs): ApiRequest<Order>
Parameters
- methodArgs: {
body: OrderUpdate;
headers?: {
[key: string]: string | string[];
};
queryArgs?: {
expand?: string | string[];
[key: string]: QueryParam;
};
}Optional
headers?: {
[key: string]: string | string[];
}
[key: string]: string | string[]
Optional
queryArgs?: {
expand?: string | string[];
[key: string]: QueryParam;
}
Optional
expand?: string | string[]
Returns ApiRequest<Order>
If the Order exists in the Project but does not reference the requested BusinessUnit, this method returns an InvalidOperation error.