إنتقل إلى المحتوى الرئيسي

إنشاء قائمة مستخدمين

إنشاء قائمة بالمستخدمين باستخدام قائمة المدخلات المحددة.

POST https://petstore3.swagger.io/api/v3/user/createWithList

أمثلة

cURL
POST "https://petstore3.swagger.io/api/v3/user/createWithList" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "api_key: <YOUR_API_KEY>" \
-d \
[
{
"id": 0,
"username": "سلسلة",
"firstName": "سلسلة",
"lastName": "سلسلة",
"email": "سلسلة",
"password": "سلسلة",
"phone": "سلسلة",
"userStatus": 0
}
]

الردود

الرمزالوصف
200عملية ناجحة
defaultعملية ناجحة
مثال على الرد

200: عملية ناجحة

Response
{
"id": 0,
"username": "سلسلة",
"firstName": "سلسلة",
"lastName": "سلسلة",
"email": "سلسلة",
"password": "سلسلة",
"phone": "سلسلة",
"userStatus": 0
}

المعلمات

نص الطلب
الاسمالنوعالوصف
bodyArray of كائن Usersمطلوب. قائمة كائنات User المراد إنشاؤها.