Theme switcher

Close Position Partially

Header Parameters

Authorizationstring

Bearer token used to authenticate the request and authorize access to the resource.

Body Parameters

loginstring Required

Trading account login

positionIdstring Required

Position identifier Order ID

volumenumber Required

Volume to close from the position

commentstring

Optional audit note

Response

200
Object

OK

Response Attributes

statusstring Required
Enum values:
OKREJECTEDPARTIAL_SUCCESS
orderIdstring
400
Object

Bad Request

Response Attributes

statusstring

HTTP status code

titlestring

Error title

detailstring

Error detail

pathstring

Request path

timestampstring

Error timestamp

401
Object

Unauthorized

Response Attributes

statusstring

HTTP status code

titlestring

Error title

detailstring

Error detail

pathstring

Request path

timestampstring

Error timestamp

403
Object

Forbidden

Response Attributes

statusstring

HTTP status code

titlestring

Error title

detailstring

Error detail

pathstring

Request path

timestampstring

Error timestamp

500
Object

Internal Server Error

Response Attributes

statusstring

HTTP status code

titlestring

Error title

detailstring

Error detail

pathstring

Request path

timestampstring

Error timestamp

POST

/

Select
1

Response

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot