POST api/ServiceRequest/PostFindServiceRequest

Request Information

URI Parameters

None.

Body Parameters

FindServiceRequest
NameDescriptionTypeAdditional information
FindServiceRequestId

integer

None.

BrandId

integer

None.

ProductTypeId

integer

None.

Name

string

None.

PhoneNo

string

None.

UnderWarranty

string

None.

Email

string

None.

Address

string

None.

Pincode

string

None.

AddedOn

string

None.

IsActive

boolean

None.

RequestCode

string

None.

IPAddress

string

None.

ClsBrand

clsBrand

None.

ClsProductType

clsProductType

None.

Request Formats

application/json, text/json

Sample:
{
  "FindServiceRequestId": 1,
  "BrandId": 1,
  "ProductTypeId": 1,
  "Name": "sample string 2",
  "PhoneNo": "sample string 3",
  "UnderWarranty": "sample string 4",
  "Email": "sample string 5",
  "Address": "sample string 6",
  "Pincode": "sample string 7",
  "AddedOn": "sample string 8",
  "IsActive": true,
  "RequestCode": "sample string 10",
  "IPAddress": "sample string 11",
  "ClsBrand": {
    "BrandId": 1,
    "BrandName": "sample string 2",
    "IsActive": true
  },
  "ClsProductType": {
    "ProductTypeId": 1,
    "ProductTypeName": "sample string 2",
    "IsActive": true
  }
}

text/html

Sample:
{"FindServiceRequestId":1,"BrandId":1,"ProductTypeId":1,"Name":"sample string 2","PhoneNo":"sample string 3","UnderWarranty":"sample string 4","Email":"sample string 5","Address":"sample string 6","Pincode":"sample string 7","AddedOn":"sample string 8","IsActive":true,"RequestCode":"sample string 10","IPAddress":"sample string 11","ClsBrand":{"BrandId":1,"BrandName":"sample string 2","IsActive":true},"ClsProductType":{"ProductTypeId":1,"ProductTypeName":"sample string 2","IsActive":true}}

application/xml, text/xml

Sample:
<FindServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCenterKolkataWebAPI.Models">
  <AddedOn>sample string 8</AddedOn>
  <Address>sample string 6</Address>
  <BrandId>1</BrandId>
  <ClsBrand>
    <BrandId>1</BrandId>
    <BrandName>sample string 2</BrandName>
    <IsActive>true</IsActive>
  </ClsBrand>
  <ClsProductType>
    <IsActive>true</IsActive>
    <ProductTypeId>1</ProductTypeId>
    <ProductTypeName>sample string 2</ProductTypeName>
  </ClsProductType>
  <Email>sample string 5</Email>
  <FindServiceRequestId>1</FindServiceRequestId>
  <IPAddress>sample string 11</IPAddress>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
  <PhoneNo>sample string 3</PhoneNo>
  <Pincode>sample string 7</Pincode>
  <ProductTypeId>1</ProductTypeId>
  <RequestCode>sample string 10</RequestCode>
  <UnderWarranty>sample string 4</UnderWarranty>
</FindServiceRequest>

multipart/form-data

Sample:
<FindServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceCenterKolkataWebAPI.Models"><AddedOn>sample string 8</AddedOn><Address>sample string 6</Address><BrandId>1</BrandId><ClsBrand><BrandId>1</BrandId><BrandName>sample string 2</BrandName><IsActive>true</IsActive></ClsBrand><ClsProductType><IsActive>true</IsActive><ProductTypeId>1</ProductTypeId><ProductTypeName>sample string 2</ProductTypeName></ClsProductType><Email>sample string 5</Email><FindServiceRequestId>1</FindServiceRequestId><IPAddress>sample string 11</IPAddress><IsActive>true</IsActive><Name>sample string 2</Name><PhoneNo>sample string 3</PhoneNo><Pincode>sample string 7</Pincode><ProductTypeId>1</ProductTypeId><RequestCode>sample string 10</RequestCode><UnderWarranty>sample string 4</UnderWarranty></FindServiceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.