POST api/Values/SalesData

Request Information

URI Parameters

None.

Body Parameters

Customer
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerCode

string

None.

Typeofcustomer

string

None.

Name

string

None.

ContactPerson1

string

None.

Mobile

string

None.

LandLine

string

None.

EmailId

string

None.

ContactPerson2

string

None.

Mobile1

string

None.

EmailId1

string

None.

BranchName

string

None.

CustomerPostingGroup

string

None.

LocationCode

string

None.

SalesPersonName

string

None.

address1

string

None.

address2

string

None.

City

string

None.

Pincode

string

None.

Country

string

None.

BranchCode

string

None.

CreditDays

string

None.

CreditLimit

integer

None.

UpdateDateTime

date

None.

Date

date

None.

deleteflag

string

None.

updatetime

date

None.

deletedate

date

None.

Exeid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CustomerCode": "sample string 2",
  "Typeofcustomer": "sample string 3",
  "Name": "sample string 4",
  "ContactPerson1": "sample string 5",
  "Mobile": "sample string 6",
  "LandLine": "sample string 7",
  "EmailId": "sample string 8",
  "ContactPerson2": "sample string 9",
  "Mobile1": "sample string 10",
  "EmailId1": "sample string 11",
  "BranchName": "sample string 12",
  "CustomerPostingGroup": "sample string 13",
  "LocationCode": "sample string 14",
  "SalesPersonName": "sample string 15",
  "address1": "sample string 16",
  "address2": "sample string 17",
  "City": "sample string 18",
  "Pincode": "sample string 19",
  "Country": "sample string 20",
  "BranchCode": "sample string 21",
  "CreditDays": "sample string 22",
  "CreditLimit": 1,
  "UpdateDateTime": "2026-05-13T11:32:40.3888803+05:30",
  "Date": "2026-05-13T11:32:40.404511+05:30",
  "deleteflag": "sample string 23",
  "updatetime": "2026-05-13T11:32:40.404511+05:30",
  "deletedate": "2026-05-13T11:32:40.404511+05:30",
  "Exeid": 1
}

application/xml, text/xml

Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Delphitvs_catalog_json">
  <BranchCode>sample string 21</BranchCode>
  <BranchName>sample string 12</BranchName>
  <City>sample string 18</City>
  <ContactPerson1>sample string 5</ContactPerson1>
  <ContactPerson2>sample string 9</ContactPerson2>
  <Country>sample string 20</Country>
  <CreditDays>sample string 22</CreditDays>
  <CreditLimit>1</CreditLimit>
  <CustomerCode>sample string 2</CustomerCode>
  <CustomerPostingGroup>sample string 13</CustomerPostingGroup>
  <Date>2026-05-13T11:32:40.404511+05:30</Date>
  <EmailId>sample string 8</EmailId>
  <EmailId1>sample string 11</EmailId1>
  <Exeid>1</Exeid>
  <Id>1</Id>
  <LandLine>sample string 7</LandLine>
  <LocationCode>sample string 14</LocationCode>
  <Mobile>sample string 6</Mobile>
  <Mobile1>sample string 10</Mobile1>
  <Name>sample string 4</Name>
  <Pincode>sample string 19</Pincode>
  <SalesPersonName>sample string 15</SalesPersonName>
  <Typeofcustomer>sample string 3</Typeofcustomer>
  <UpdateDateTime>2026-05-13T11:32:40.3888803+05:30</UpdateDateTime>
  <address1>sample string 16</address1>
  <address2>sample string 17</address2>
  <deletedate>2026-05-13T11:32:40.404511+05:30</deletedate>
  <deleteflag>sample string 23</deleteflag>
  <updatetime>2026-05-13T11:32:40.404511+05:30</updatetime>
</Customer>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Customer'.

Response Information

Resource Description

Output
NameDescriptionTypeAdditional information
result

string

None.

msg

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "result": "sample string 1",
  "msg": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<Output xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Delphitvs_catalog_json">
  <data />
  <msg>sample string 2</msg>
  <result>sample string 1</result>
</Output>