POST api/AddFatwa

Request Information

URI Parameters

None.

Body Parameters

InsertFatwaRequest
NameDescriptionTypeAdditional information
Question

string

None.

LangID

integer

None.

ClassID

integer

None.

IsMobile

integer

None.

Subject

string

None.

RequesterEmail

string

None.

UserID

integer

None.

Gender

integer

None.

QLenght

integer

None.

IP

string

None.

Country

string

None.

Age

string

None.

RequesterName

string

None.

tomov

integer

None.

Mobile_User

globally unique identifier

None.

messagetext

string

None.

MessageID

integer

None.

IsReaded

boolean

None.

OS

string

None.

OSVersion

string

None.

AppVersion

string

None.

DeviceVendor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Question": "sample string 1",
  "LangID": 2,
  "ClassID": 3,
  "IsMobile": 4,
  "Subject": "sample string 5",
  "RequesterEmail": "sample string 6",
  "UserID": 7,
  "Gender": 8,
  "QLenght": 9,
  "IP": "sample string 10",
  "Country": "sample string 11",
  "Age": "sample string 12",
  "RequesterName": "sample string 13",
  "tomov": 14,
  "Mobile_User": "b83183d1-252d-461b-8441-e0e2a3a661d4",
  "messagetext": "sample string 16",
  "MessageID": 17,
  "IsReaded": true,
  "OS": "sample string 19",
  "OSVersion": "sample string 20",
  "AppVersion": "sample string 21",
  "DeviceVendor": "sample string 22"
}

application/xml, text/xml

Sample:
<InsertFatwaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.Entities">
  <Age>sample string 12</Age>
  <AppVersion>sample string 21</AppVersion>
  <ClassID>3</ClassID>
  <Country>sample string 11</Country>
  <DeviceVendor>sample string 22</DeviceVendor>
  <Gender>8</Gender>
  <IP>sample string 10</IP>
  <IsMobile>4</IsMobile>
  <IsReaded>true</IsReaded>
  <LangID>2</LangID>
  <MessageID>17</MessageID>
  <Mobile_User>b83183d1-252d-461b-8441-e0e2a3a661d4</Mobile_User>
  <OS>sample string 19</OS>
  <OSVersion>sample string 20</OSVersion>
  <QLenght>9</QLenght>
  <Question>sample string 1</Question>
  <RequesterEmail>sample string 6</RequesterEmail>
  <RequesterName>sample string 13</RequesterName>
  <Subject>sample string 5</Subject>
  <UserID>7</UserID>
  <messagetext>sample string 16</messagetext>
  <tomov>14</tomov>
</InsertFatwaRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.