POST api/CustomerMaster/POSTExcel?CreatedBy={CreatedBy}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CreatedBy

integer

Required

Body Parameters

Collection of C_CustomerMaster
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerCode

string

None.

CustomerName

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

CityId

integer

None.

StateId

integer

None.

CountryId

integer

None.

DistrictId

integer

None.

SubTerritoryId

integer

None.

TalukaId

integer

None.

ZipCode

string

None.

Mobile

string

None.

Email

string

None.

DOB

date

None.

DOA

date

None.

OfficeId

integer

None.

TransporterId

string

None.

CreditLimit

decimal number

None.

LedgerCode

string

None.

CreditDays

integer

None.

DeliveryTermId

integer

None.

PaymentTermId

integer

None.

SupCusGroupId

integer

None.

Active

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

ModifiedBy

integer

None.

ModifiedOn

date

None.

ContactPerson

string

None.

KeyContactPerson

string

None.

KeyContactPersonPhoneNo

string

None.

RegistrationType

integer

None.

ClassificationType

integer

None.

LoginRequired

string

None.

PotentialPerMonth

decimal number

None.

RRShareOfWallet

decimal number

None.

ZoneCode

string

None.

Latitude

string

None.

Longitude

string

None.

IsLegal

string

None.

DMSFlag

string

None.

SupplyType

string

None.

TCSApplicableFlag

string

None.

IsSettled

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "CustomerCode": "sample string 2",
    "CustomerName": "sample string 3",
    "Address1": "sample string 4",
    "Address2": "sample string 5",
    "Address3": "sample string 6",
    "CityId": 1,
    "StateId": 7,
    "CountryId": 1,
    "DistrictId": 1,
    "SubTerritoryId": 1,
    "TalukaId": 1,
    "ZipCode": "sample string 8",
    "Mobile": "sample string 9",
    "Email": "sample string 10",
    "DOB": "2024-04-27T15:55:43.9222377+00:00",
    "DOA": "2024-04-27T15:55:43.9222377+00:00",
    "OfficeId": 1,
    "TransporterId": "sample string 11",
    "CreditLimit": 1.1,
    "LedgerCode": "sample string 12",
    "CreditDays": 1,
    "DeliveryTermId": 1,
    "PaymentTermId": 1,
    "SupCusGroupId": 1,
    "Active": "sample string 13",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T15:55:43.9414668+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-27T15:55:43.9414668+00:00",
    "ContactPerson": "sample string 14",
    "KeyContactPerson": "sample string 15",
    "KeyContactPersonPhoneNo": "sample string 16",
    "RegistrationType": 1,
    "ClassificationType": 1,
    "LoginRequired": "sample string 17",
    "PotentialPerMonth": 1.0,
    "RRShareOfWallet": 1.0,
    "ZoneCode": "sample string 18",
    "Latitude": "sample string 19",
    "Longitude": "sample string 20",
    "IsLegal": "sample string 21",
    "DMSFlag": "sample string 22",
    "SupplyType": "sample string 23",
    "TCSApplicableFlag": "sample string 24",
    "IsSettled": "sample string 25"
  },
  {
    "Id": 1,
    "CustomerCode": "sample string 2",
    "CustomerName": "sample string 3",
    "Address1": "sample string 4",
    "Address2": "sample string 5",
    "Address3": "sample string 6",
    "CityId": 1,
    "StateId": 7,
    "CountryId": 1,
    "DistrictId": 1,
    "SubTerritoryId": 1,
    "TalukaId": 1,
    "ZipCode": "sample string 8",
    "Mobile": "sample string 9",
    "Email": "sample string 10",
    "DOB": "2024-04-27T15:55:43.9222377+00:00",
    "DOA": "2024-04-27T15:55:43.9222377+00:00",
    "OfficeId": 1,
    "TransporterId": "sample string 11",
    "CreditLimit": 1.1,
    "LedgerCode": "sample string 12",
    "CreditDays": 1,
    "DeliveryTermId": 1,
    "PaymentTermId": 1,
    "SupCusGroupId": 1,
    "Active": "sample string 13",
    "CreatedBy": 1,
    "CreatedOn": "2024-04-27T15:55:43.9414668+00:00",
    "ModifiedBy": 1,
    "ModifiedOn": "2024-04-27T15:55:43.9414668+00:00",
    "ContactPerson": "sample string 14",
    "KeyContactPerson": "sample string 15",
    "KeyContactPersonPhoneNo": "sample string 16",
    "RegistrationType": 1,
    "ClassificationType": 1,
    "LoginRequired": "sample string 17",
    "PotentialPerMonth": 1.0,
    "RRShareOfWallet": 1.0,
    "ZoneCode": "sample string 18",
    "Latitude": "sample string 19",
    "Longitude": "sample string 20",
    "IsLegal": "sample string 21",
    "DMSFlag": "sample string 22",
    "SupplyType": "sample string 23",
    "TCSApplicableFlag": "sample string 24",
    "IsSettled": "sample string 25"
  }
]

application/xml, text/xml

Sample:
<ArrayOfC_CustomerMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
  <C_CustomerMaster>
    <Active>sample string 13</Active>
    <Address1>sample string 4</Address1>
    <Address2>sample string 5</Address2>
    <Address3>sample string 6</Address3>
    <CityId>1</CityId>
    <ClassificationType>1</ClassificationType>
    <ContactPerson>sample string 14</ContactPerson>
    <CountryId>1</CountryId>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T15:55:43.9414668+00:00</CreatedOn>
    <CreditDays>1</CreditDays>
    <CreditLimit>1.1</CreditLimit>
    <CustomerCode>sample string 2</CustomerCode>
    <CustomerName>sample string 3</CustomerName>
    <DMSFlag>sample string 22</DMSFlag>
    <DOA>2024-04-27T15:55:43.9222377+00:00</DOA>
    <DOB>2024-04-27T15:55:43.9222377+00:00</DOB>
    <DeliveryTermId>1</DeliveryTermId>
    <DistrictId>1</DistrictId>
    <Email>sample string 10</Email>
    <Id>1</Id>
    <IsLegal>sample string 21</IsLegal>
    <IsSettled>sample string 25</IsSettled>
    <KeyContactPerson>sample string 15</KeyContactPerson>
    <KeyContactPersonPhoneNo>sample string 16</KeyContactPersonPhoneNo>
    <Latitude>sample string 19</Latitude>
    <LedgerCode>sample string 12</LedgerCode>
    <LoginRequired>sample string 17</LoginRequired>
    <Longitude>sample string 20</Longitude>
    <Mobile>sample string 9</Mobile>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-27T15:55:43.9414668+00:00</ModifiedOn>
    <OfficeId>1</OfficeId>
    <PaymentTermId>1</PaymentTermId>
    <PotentialPerMonth>1</PotentialPerMonth>
    <RRShareOfWallet>1</RRShareOfWallet>
    <RegistrationType>1</RegistrationType>
    <StateId>7</StateId>
    <SubTerritoryId>1</SubTerritoryId>
    <SupCusGroupId>1</SupCusGroupId>
    <SupplyType>sample string 23</SupplyType>
    <TCSApplicableFlag>sample string 24</TCSApplicableFlag>
    <TalukaId>1</TalukaId>
    <TransporterId>sample string 11</TransporterId>
    <ZipCode>sample string 8</ZipCode>
    <ZoneCode>sample string 18</ZoneCode>
  </C_CustomerMaster>
  <C_CustomerMaster>
    <Active>sample string 13</Active>
    <Address1>sample string 4</Address1>
    <Address2>sample string 5</Address2>
    <Address3>sample string 6</Address3>
    <CityId>1</CityId>
    <ClassificationType>1</ClassificationType>
    <ContactPerson>sample string 14</ContactPerson>
    <CountryId>1</CountryId>
    <CreatedBy>1</CreatedBy>
    <CreatedOn>2024-04-27T15:55:43.9414668+00:00</CreatedOn>
    <CreditDays>1</CreditDays>
    <CreditLimit>1.1</CreditLimit>
    <CustomerCode>sample string 2</CustomerCode>
    <CustomerName>sample string 3</CustomerName>
    <DMSFlag>sample string 22</DMSFlag>
    <DOA>2024-04-27T15:55:43.9222377+00:00</DOA>
    <DOB>2024-04-27T15:55:43.9222377+00:00</DOB>
    <DeliveryTermId>1</DeliveryTermId>
    <DistrictId>1</DistrictId>
    <Email>sample string 10</Email>
    <Id>1</Id>
    <IsLegal>sample string 21</IsLegal>
    <IsSettled>sample string 25</IsSettled>
    <KeyContactPerson>sample string 15</KeyContactPerson>
    <KeyContactPersonPhoneNo>sample string 16</KeyContactPersonPhoneNo>
    <Latitude>sample string 19</Latitude>
    <LedgerCode>sample string 12</LedgerCode>
    <LoginRequired>sample string 17</LoginRequired>
    <Longitude>sample string 20</Longitude>
    <Mobile>sample string 9</Mobile>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedOn>2024-04-27T15:55:43.9414668+00:00</ModifiedOn>
    <OfficeId>1</OfficeId>
    <PaymentTermId>1</PaymentTermId>
    <PotentialPerMonth>1</PotentialPerMonth>
    <RRShareOfWallet>1</RRShareOfWallet>
    <RegistrationType>1</RegistrationType>
    <StateId>7</StateId>
    <SubTerritoryId>1</SubTerritoryId>
    <SupCusGroupId>1</SupCusGroupId>
    <SupplyType>sample string 23</SupplyType>
    <TCSApplicableFlag>sample string 24</TCSApplicableFlag>
    <TalukaId>1</TalukaId>
    <TransporterId>sample string 11</TransporterId>
    <ZipCode>sample string 8</ZipCode>
    <ZoneCode>sample string 18</ZoneCode>
  </C_CustomerMaster>
</ArrayOfC_CustomerMaster>

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 'C_CustomerMaster[]'.

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.