JSON 投稿リクエストを使用してプロジェクトのドキュメントを作成しようとしています。
get リクエストでは、uri パラメータを簡単に定義できます。
ただし、json やその他の投稿リクエストについても同じことを行いたいと考えています。
私はそれが以下のように機能することを望んでいました.例にパラメータを表示しますが、それを行う方法ではないようです...
これを適切に行う方法はありますか?
## Post Inbound [/ws/3/inbound]
### Post Inbound [POST]
+ Request
{
"authentication":
{
"location":"{location}",
"customer_id":{customer_id},
"context":"{context}"
},
"date":"",
"reference":"",
"details":
[
{
"article_code":"",
"qty_expected":
},
{
"article_code":"",
"qty_expected":
}
]
}
+ Parameters
+ location (required, string) - Target url of the wics server
+ customer_id (required, int) - Customer ID
+ context (required, string) - Authentication context gotten from login
+ date (required, date) - Date format as yyyy-mm-dd
+ reference (required, string) - Reference
+ article_code (required, string) - Article code
+ qty_expected (required, int) - Quantity expected.