Skip to content

Remove odata from output for planner bucket get #3825

@Jwaegebaert

Description

@Jwaegebaert

Remove odata from the command output for planner bucket get.

This can be achieved by changing the accept header from application/json to application/json;odata.metadata=none. In most methods this is already applied except for the method getBucketById.

private async getBucketById(id: string): Promise<PlannerBucket> {
const requestOptions: AxiosRequestConfig = {
url: `${this.resource}/v1.0/planner/buckets/${id}`,
headers: {
accept: 'application/json'
},
responseType: 'json'
};
return request.get<PlannerBucket>(requestOptions);
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions