POST api/Mobile/SaveUserRequestRecords

(Input Params = userId,requestTypeID || requestTypeID=1 for BookSampling and 2 for NewSchool) (Result 1 = Success, Result 0 = Failed) ErrorType 2 = Server Error)

Request Information

Parameters

NameDescriptionAdditional information
Model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "requestTypeID": 1,
  "userId": 2,
  "schoolName": "sample string 3",
  "address": "sample string 4",
  "deliveryLocationType": 1,
  "deliverylocationAddress": "sample string 5",
  "boardId": 1,
  "stateId": 1,
  "districtId": 1,
  "cityId": 1,
  "schoolMediumId": 1,
  "schoolLevelId": 1,
  "pin": 1,
  "mobile": "sample string 6",
  "strength": 1,
  "email": "sample string 7",
  "schoolHead": "sample string 8",
  "designationId": 1,
  "TransactionNo": "sample string 9",
  "inventoryTypeId": 1,
  "godownId": 1,
  "Description": "sample string 10",
  "ipAddress": "sample string 11",
  "clientTypeId": 1,
  "SchoolId": 1,
  "sampleBooks": [
    {
      "bookId": 1,
      "Version": 2,
      "quantity": 3
    },
    {
      "bookId": 1,
      "Version": 2,
      "quantity": 3
    },
    {
      "bookId": 1,
      "Version": 2,
      "quantity": 3
    }
  ],
  "ErrorType": 12,
  "Result": 13
}

application/xml, text/xml

Sample:
<MUserRequestRecordsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/crmData.Models">
  <ErrorType>12</ErrorType>
  <Result>13</Result>
  <Description>sample string 10</Description>
  <SchoolId>1</SchoolId>
  <TransactionNo>sample string 9</TransactionNo>
  <address>sample string 4</address>
  <boardId>1</boardId>
  <cityId>1</cityId>
  <clientTypeId>1</clientTypeId>
  <deliveryLocationType>1</deliveryLocationType>
  <deliverylocationAddress>sample string 5</deliverylocationAddress>
  <designationId>1</designationId>
  <districtId>1</districtId>
  <email>sample string 7</email>
  <godownId>1</godownId>
  <inventoryTypeId>1</inventoryTypeId>
  <ipAddress>sample string 11</ipAddress>
  <mobile>sample string 6</mobile>
  <pin>1</pin>
  <requestTypeID>1</requestTypeID>
  <sampleBooks>
    <sampleBookQuantity>
      <Version>2</Version>
      <bookId>1</bookId>
      <quantity>3</quantity>
    </sampleBookQuantity>
    <sampleBookQuantity>
      <Version>2</Version>
      <bookId>1</bookId>
      <quantity>3</quantity>
    </sampleBookQuantity>
    <sampleBookQuantity>
      <Version>2</Version>
      <bookId>1</bookId>
      <quantity>3</quantity>
    </sampleBookQuantity>
  </sampleBooks>
  <schoolHead>sample string 8</schoolHead>
  <schoolLevelId>1</schoolLevelId>
  <schoolMediumId>1</schoolMediumId>
  <schoolName>sample string 3</schoolName>
  <stateId>1</stateId>
  <strength>1</strength>
  <userId>2</userId>
</MUserRequestRecordsModel>

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.