POST api/Services/ActiveInActiveSupplier

Request Information

URI Parameters

None.

Body Parameters

tbl_Suppliers
NameDescriptionTypeAdditional information
SupplierId

integer

None.

StoreId

integer

None.

SupplierCode

string

None.

Name

string

None.

MobileNo

string

None.

PhoneNo

string

None.

Address

string

None.

Email

string

None.

RouteId

integer

None.

IsActive

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SupplierId": 1,
  "StoreId": 2,
  "SupplierCode": "sample string 3",
  "Name": "sample string 4",
  "MobileNo": "sample string 5",
  "PhoneNo": "sample string 6",
  "Address": "sample string 7",
  "Email": "sample string 8",
  "RouteId": 1,
  "IsActive": true,
  "CreatedBy": 1,
  "CreatedDate": "2024-12-23T03:39:26.3060613+05:30",
  "UpdatedBy": 1,
  "UpdatedDate": "2024-12-23T03:39:26.3060613+05:30"
}

text/html, multipart/form-data

Sample:
{"SupplierId":1,"StoreId":2,"SupplierCode":"sample string 3","Name":"sample string 4","MobileNo":"sample string 5","PhoneNo":"sample string 6","Address":"sample string 7","Email":"sample string 8","RouteId":1,"IsActive":true,"CreatedBy":1,"CreatedDate":"2024-12-23T03:39:26.3060613+05:30","UpdatedBy":1,"UpdatedDate":"2024-12-23T03:39:26.3060613+05:30"}

application/xml, text/xml

Sample:
<tbl_Suppliers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataBase">
  <Address>sample string 7</Address>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2024-12-23T03:39:26.3060613+05:30</CreatedDate>
  <Email>sample string 8</Email>
  <IsActive>true</IsActive>
  <MobileNo>sample string 5</MobileNo>
  <Name>sample string 4</Name>
  <PhoneNo>sample string 6</PhoneNo>
  <RouteId>1</RouteId>
  <StoreId>2</StoreId>
  <SupplierCode>sample string 3</SupplierCode>
  <SupplierId>1</SupplierId>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2024-12-23T03:39:26.3060613+05:30</UpdatedDate>
</tbl_Suppliers>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponce
NameDescriptionTypeAdditional information
Status

string

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Data": {}
}

text/html, multipart/form-data

Sample:
{"Status":"sample string 1","Message":"sample string 2","Data":{}}

application/xml, text/xml

Sample:
<APIResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers">
  <Data />
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</APIResponce>