Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
api:api_applications_id_invoices [2023/11/08 11:57] – created Safak | api:api_applications_id_invoices [2024/07/30 11:50] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 33: | Line 33: | ||
" | " | ||
}, | }, | ||
- | " | + | " |
- | " | + | " |
" | " | ||
" | " | ||
Line 68: | Line 68: | ||
" | " | ||
}, | }, | ||
- | " | + | " |
- | " | + | " |
- | " | + | " |
" | " | ||
" | " | ||
Line 96: | Line 96: | ||
} | } | ||
} | } | ||
+ | | ||
+ | | ||
+ | ===== POST ===== | ||
+ | |||
+ | Create a new invoice attached to the application in question. The URI for the invoice created is returned in the '' | ||
+ | |||
+ | ==== Syntax ==== | ||
+ | |||
+ | POST / | ||
+ | Host: apply.example.edu | ||
+ | Authorization: | ||
+ | | ||
+ | ==== Parameters ==== | ||
+ | |||
+ | ^ Name ^ ^ Description ^ | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | ==== Raw request body ==== | ||
+ | |||
+ | The parameters above should be sent as a proper JSON object. | ||
+ | |||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | }, | ||
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | ==== Response headers ==== | ||
+ | |||
+ | Content-Type: | ||
+ | Content-Length: | ||
+ | Location: / | ||
+ | |||
+ | ==== Response codes ==== | ||
+ | |||
+ | | '' |