메인 콘텐츠로 건너뛰기
POST
/
cost
/
create
생성 비용
curl --request POST \
  --url https://api.example.com/cost/create \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "costs": {},
  "wb_user_id": "<string>"
}
'
{
  "ids": [
    [
      "<string>",
      "<string>"
    ]
  ]
}

인증

Authorization
string
header
필수

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

본문

application/json
project_id
string
필수
예시:

"entity/project"

costs
Costs · object
필수
wb_user_id
string | null

직접 설정하지 마십시오. 서버에서 이 필드를 자동으로 채웁니다.

응답

성공 응답

ids
tuple[]
필수