Skip to content

Words AddPair

Artyom Slepushko edited this page Oct 4, 2018 · 10 revisions

Authorize access only

Sample

POST /api/words/addpair

[{
   "id":1,
   "WordForeign":"english",
   "WordNative":"английский"
},
{
   "id":2,
   "WordForeign":"world",
   "WordNative":"мир"
}]

Server Answer

[{
   "id": 1,
   "serverId": 4
},
{
   "id": 2,
   "serverId": 4
}]

Structure Explanation

{
   "id":123,
   "WordForeign":"string",
   "WordNative":"string",
   "serverId:321
}

id is your local base id;

C# code class model

Wiki

WebApi

Clone this wiki locally