POST api/User/AddBooks
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
booksInfoModel | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "BookID": 1, "BookTitle": "sample string 2", "SubjectID": 3, "ClassID": 4, "BookTypeID": 5, "AuthorID": 6, "ISBN": "sample string 7", "CD": true, "Price": 1.0, "Description": "sample string 9", "SubjectList": [ { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" } ], "ClassList": [ { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" } ], "BookTypeList": [ { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" } ], "AuthorList": [ { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" } ] }
application/xml, text/xml
Sample:
<BooksInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/crmData.Models"> <AuthorID>6</AuthorID> <AuthorList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc"> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> </AuthorList> <BookID>1</BookID> <BookTitle>sample string 2</BookTitle> <BookTypeID>5</BookTypeID> <BookTypeList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc"> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> </BookTypeList> <CD>true</CD> <ClassID>4</ClassID> <ClassList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc"> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> </ClassList> <Description>sample string 9</Description> <ISBN>sample string 7</ISBN> <Price>1</Price> <SubjectID>3</SubjectID> <SubjectList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc"> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> </SubjectList> </BooksInfoModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.