POST api/AccountSelections
Request Information
URI Parameters
None.
Body Parameters
AccountSelectionName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Account_Id | integer |
None. |
|
Book_Id | integer |
None. |
|
InsertDateTime | date |
None. |
|
CustomAction1 | boolean |
None. |
|
CustomAction2 | boolean |
None. |
|
CustomAction3 | boolean |
None. |
|
Discription1 | string |
None. |
|
Discription2 | string |
None. |
|
Account | Account |
None. |
|
Book | Book |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Account_Id": 1, "Book_Id": 1, "InsertDateTime": "2021-02-25T05:19:17.8204588+03:30", "CustomAction1": true, "CustomAction2": true, "CustomAction3": true, "Discription1": "sample string 2", "Discription2": "sample string 3", "Account": { "$id": "2", "Id": 1, "DeviceId": "sample string 2", "AccountName": "sample string 3", "Email": "sample string 4", "InsertDateTime": "2021-02-25T05:19:17.8204588+03:30", "AccountSelections": [ { "$ref": "1" }, { "$ref": "1" } ] }, "Book": { "$id": "3", "Id": 1, "ISBN": "sample string 2", "Title": "sample string 3", "Author": "sample string 4", "Publisher": "sample string 5", "Price": "sample string 6", "PublishDate": "sample string 7", "Subject": "sample string 8", "Section": "sample string 9", "Saloon": "sample string 10", "Corridor": "sample string 11", "Booth": "sample string 12", "Link": "sample string 13", "Lang": "sample string 14", "InsertDateTime": "2021-02-25T05:19:17.8204588+03:30", "Distributor": "sample string 15", "Translator": "sample string 16", "BookID": "sample string 17", "PubID": "sample string 18", "AccountSelections": [ { "$ref": "1" }, { "$ref": "1" } ], "BookDetails": [ { "$id": "4", "Id": 1, "Book_Id": 1, "PhotoLink": "sample string 2", "Translator": "sample string 3", "Description1": "sample string 4", "Description2": "sample string 5", "Book": { "$ref": "3" } }, { "$ref": "4" } ], "OfficialSelectionLists": [ { "$id": "5", "Id": 1, "Official_Id": 1, "Book_Id": 1, "YearSelection": 1, "InsertDateTime": "2021-02-25T05:19:17.8204588+03:30", "GroupSelection_Id": 1, "Priority": 1, "Book": { "$ref": "3" }, "GroupSelection": { "$id": "6", "Id": 1, "Title": "sample string 2", "OfficialSelectionLists": [ { "$ref": "5" }, { "$ref": "5" } ] }, "Official": { "$id": "7", "Id": 1, "Title": "sample string 2", "OfficialSelectionLists": [ { "$ref": "5" }, { "$ref": "5" } ] } }, { "$ref": "5" } ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AccountSelectionName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Account_Id | integer |
None. |
|
Book_Id | integer |
None. |
|
InsertDateTime | date |
None. |
|
CustomAction1 | boolean |
None. |
|
CustomAction2 | boolean |
None. |
|
CustomAction3 | boolean |
None. |
|
Discription1 | string |
None. |
|
Discription2 | string |
None. |
|
Account | Account |
None. |
|
Book | Book |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "Account_Id": 1, "Book_Id": 1, "InsertDateTime": "2021-02-25T05:19:17.8360691+03:30", "CustomAction1": true, "CustomAction2": true, "CustomAction3": true, "Discription1": "sample string 2", "Discription2": "sample string 3", "Account": { "$id": "2", "Id": 1, "DeviceId": "sample string 2", "AccountName": "sample string 3", "Email": "sample string 4", "InsertDateTime": "2021-02-25T05:19:17.8360691+03:30", "AccountSelections": [ { "$ref": "1" }, { "$ref": "1" } ] }, "Book": { "$id": "3", "Id": 1, "ISBN": "sample string 2", "Title": "sample string 3", "Author": "sample string 4", "Publisher": "sample string 5", "Price": "sample string 6", "PublishDate": "sample string 7", "Subject": "sample string 8", "Section": "sample string 9", "Saloon": "sample string 10", "Corridor": "sample string 11", "Booth": "sample string 12", "Link": "sample string 13", "Lang": "sample string 14", "InsertDateTime": "2021-02-25T05:19:17.8360691+03:30", "Distributor": "sample string 15", "Translator": "sample string 16", "BookID": "sample string 17", "PubID": "sample string 18", "AccountSelections": [ { "$ref": "1" }, { "$ref": "1" } ], "BookDetails": [ { "$id": "4", "Id": 1, "Book_Id": 1, "PhotoLink": "sample string 2", "Translator": "sample string 3", "Description1": "sample string 4", "Description2": "sample string 5", "Book": { "$ref": "3" } }, { "$ref": "4" } ], "OfficialSelectionLists": [ { "$id": "5", "Id": 1, "Official_Id": 1, "Book_Id": 1, "YearSelection": 1, "InsertDateTime": "2021-02-25T05:19:17.8360691+03:30", "GroupSelection_Id": 1, "Priority": 1, "Book": { "$ref": "3" }, "GroupSelection": { "$id": "6", "Id": 1, "Title": "sample string 2", "OfficialSelectionLists": [ { "$ref": "5" }, { "$ref": "5" } ] }, "Official": { "$id": "7", "Id": 1, "Title": "sample string 2", "OfficialSelectionLists": [ { "$ref": "5" }, { "$ref": "5" } ] } }, { "$ref": "5" } ] } }