POST api/Customer/SaveCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerModel
NameDescriptionTypeAdditional information
UserID

integer

None.

CustomerID

integer

None.

CustomerCode

string

None.

UnitID

integer

None.

BranchID

integer

None.

AreaID

integer

None.

StaffID

integer

None.

GroupID

integer

None.

EnrollmentDate

date

None.

TitleID

integer

None.

GenderID

integer

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

DateOfBirth

date

None.

Qualification

string

None.

Occupation

string

None.

MonthlyIncome

decimal number

None.

FatherName

string

None.

MotherName

string

None.

HusbandWifeName

string

None.

MobileNumber

string

None.

CollectionTime

string

None.

MaritalStatusID

integer

None.

Email

string

None.

Latitude

string

None.

Longitude

string

None.

Aadhaar

string

None.

IsValidAadhaar

integer

None.

PAN

string

None.

IsValidPAN

integer

None.

RationCard

string

None.

MeterNumber

string

None.

CINO

string

None.

CIRelation

string

None.

DLNo

string

None.

Passport

string

None.

NomineeName

string

None.

NomineeRelationID

integer

None.

NomineeMobile

string

None.

NomineeAadhaar

string

None.

NomineeVoterID

string

None.

NomineePan

string

None.

NomineeAddress

string

None.

NomineeRationCard

string

None.

NomineeCompanyName

string

None.

NomineeEmploymentTypeID

integer

None.

NomineeIndustryID

integer

None.

NomineeOrganizationID

integer

None.

NomineeEmployerName

string

None.

NomineeOfficeEmail

string

None.

NomineeBusinessAddress

string

None.

NomineeImage

string

None.

Cors_Address1

string

None.

Cors_Address2

string

None.

Cors_Para

string

None.

Cors_Ward

string

None.

Cors_Panchayat

string

None.

Cors_Area

string

None.

Cors_Landmark

string

None.

Cors_CountryID

integer

None.

Cors_StateID

integer

None.

Cors_City

string

None.

Cors_Pincode

string

None.

Per_Address1

string

None.

Per_Address2

string

None.

Per_Para

string

None.

Per_Ward

string

None.

Per_Panchayat

string

None.

Per_Area

string

None.

Per_Landmark

string

None.

Per_CountryID

integer

None.

Per_StateID

integer

None.

Per_City

string

None.

Per_Pincode

string

None.

CustomerImage

string

None.

CompanyID

integer

None.

IsActive

integer

None.

BankName

string

None.

BankBranch

string

None.

BankAccountNumber

string

None.

BankIFSC

string

None.

EmploymentTypeID

integer

None.

IndustryID

integer

None.

CompanyName

string

None.

EmployerName

string

None.

BusinessAddress

string

None.

PrvEmployeeCode

string

None.

DesignationName

string

None.

Salary

decimal number

None.

OfficeEmail

string

None.

VoterID

string

None.

OrganizationID

integer

None.

CustomerImageModel

Collection of CustomerImageModel

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "CustomerID": 2,
  "CustomerCode": "sample string 3",
  "UnitID": 1,
  "BranchID": 1,
  "AreaID": 1,
  "StaffID": 1,
  "GroupID": 1,
  "EnrollmentDate": "2025-12-12T02:29:26.7173694+05:30",
  "TitleID": 1,
  "GenderID": 1,
  "FirstName": "sample string 4",
  "MiddleName": "sample string 5",
  "LastName": "sample string 6",
  "DateOfBirth": "2025-12-12T02:29:26.7173694+05:30",
  "Qualification": "sample string 7",
  "Occupation": "sample string 8",
  "MonthlyIncome": 1.0,
  "FatherName": "sample string 9",
  "MotherName": "sample string 10",
  "HusbandWifeName": "sample string 11",
  "MobileNumber": "sample string 12",
  "CollectionTime": "sample string 13",
  "MaritalStatusID": 1,
  "Email": "sample string 14",
  "Latitude": "sample string 15",
  "Longitude": "sample string 16",
  "Aadhaar": "sample string 17",
  "IsValidAadhaar": 1,
  "PAN": "sample string 18",
  "IsValidPAN": 1,
  "RationCard": "sample string 19",
  "MeterNumber": "sample string 20",
  "CINO": "sample string 21",
  "CIRelation": "sample string 22",
  "DLNo": "sample string 23",
  "Passport": "sample string 24",
  "NomineeName": "sample string 25",
  "NomineeRelationID": 1,
  "NomineeMobile": "sample string 26",
  "NomineeAadhaar": "sample string 27",
  "NomineeVoterID": "sample string 28",
  "NomineePan": "sample string 29",
  "NomineeAddress": "sample string 30",
  "NomineeRationCard": "sample string 31",
  "NomineeCompanyName": "sample string 32",
  "NomineeEmploymentTypeID": 1,
  "NomineeIndustryID": 1,
  "NomineeOrganizationID": 1,
  "NomineeEmployerName": "sample string 33",
  "NomineeOfficeEmail": "sample string 34",
  "NomineeBusinessAddress": "sample string 35",
  "NomineeImage": "sample string 36",
  "Cors_Address1": "sample string 37",
  "Cors_Address2": "sample string 38",
  "Cors_Para": "sample string 39",
  "Cors_Ward": "sample string 40",
  "Cors_Panchayat": "sample string 41",
  "Cors_Area": "sample string 42",
  "Cors_Landmark": "sample string 43",
  "Cors_CountryID": 1,
  "Cors_StateID": 1,
  "Cors_City": "sample string 44",
  "Cors_Pincode": "sample string 45",
  "Per_Address1": "sample string 46",
  "Per_Address2": "sample string 47",
  "Per_Para": "sample string 48",
  "Per_Ward": "sample string 49",
  "Per_Panchayat": "sample string 50",
  "Per_Area": "sample string 51",
  "Per_Landmark": "sample string 52",
  "Per_CountryID": 1,
  "Per_StateID": 1,
  "Per_City": "sample string 53",
  "Per_Pincode": "sample string 54",
  "CustomerImage": "sample string 55",
  "CompanyID": 1,
  "IsActive": 1,
  "BankName": "sample string 56",
  "BankBranch": "sample string 57",
  "BankAccountNumber": "sample string 58",
  "BankIFSC": "sample string 59",
  "EmploymentTypeID": 1,
  "IndustryID": 1,
  "CompanyName": "sample string 60",
  "EmployerName": "sample string 61",
  "BusinessAddress": "sample string 62",
  "PrvEmployeeCode": "sample string 63",
  "DesignationName": "sample string 64",
  "Salary": 1.0,
  "OfficeEmail": "sample string 65",
  "VoterID": "sample string 66",
  "OrganizationID": 1,
  "CustomerImageModel": [
    {
      "ImagePath": "sample string 1",
      "Description": "sample string 2"
    },
    {
      "ImagePath": "sample string 1",
      "Description": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MfgProj.BusinessObject">
  <Aadhaar>sample string 17</Aadhaar>
  <AreaID>1</AreaID>
  <BankAccountNumber>sample string 58</BankAccountNumber>
  <BankBranch>sample string 57</BankBranch>
  <BankIFSC>sample string 59</BankIFSC>
  <BankName>sample string 56</BankName>
  <BranchID>1</BranchID>
  <BusinessAddress>sample string 62</BusinessAddress>
  <CINO>sample string 21</CINO>
  <CIRelation>sample string 22</CIRelation>
  <CollectionTime>sample string 13</CollectionTime>
  <CompanyID>1</CompanyID>
  <CompanyName>sample string 60</CompanyName>
  <Cors_Address1>sample string 37</Cors_Address1>
  <Cors_Address2>sample string 38</Cors_Address2>
  <Cors_Area>sample string 42</Cors_Area>
  <Cors_City>sample string 44</Cors_City>
  <Cors_CountryID>1</Cors_CountryID>
  <Cors_Landmark>sample string 43</Cors_Landmark>
  <Cors_Panchayat>sample string 41</Cors_Panchayat>
  <Cors_Para>sample string 39</Cors_Para>
  <Cors_Pincode>sample string 45</Cors_Pincode>
  <Cors_StateID>1</Cors_StateID>
  <Cors_Ward>sample string 40</Cors_Ward>
  <CustomerCode>sample string 3</CustomerCode>
  <CustomerID>2</CustomerID>
  <CustomerImage>sample string 55</CustomerImage>
  <CustomerImageModel>
    <CustomerImageModel>
      <Description>sample string 2</Description>
      <ImagePath>sample string 1</ImagePath>
    </CustomerImageModel>
    <CustomerImageModel>
      <Description>sample string 2</Description>
      <ImagePath>sample string 1</ImagePath>
    </CustomerImageModel>
  </CustomerImageModel>
  <DLNo>sample string 23</DLNo>
  <DateOfBirth>2025-12-12T02:29:26.7173694+05:30</DateOfBirth>
  <DesignationName>sample string 64</DesignationName>
  <Email>sample string 14</Email>
  <EmployerName>sample string 61</EmployerName>
  <EmploymentTypeID>1</EmploymentTypeID>
  <EnrollmentDate>2025-12-12T02:29:26.7173694+05:30</EnrollmentDate>
  <FatherName>sample string 9</FatherName>
  <FirstName>sample string 4</FirstName>
  <GenderID>1</GenderID>
  <GroupID>1</GroupID>
  <HusbandWifeName>sample string 11</HusbandWifeName>
  <IndustryID>1</IndustryID>
  <IsActive>1</IsActive>
  <IsValidAadhaar>1</IsValidAadhaar>
  <IsValidPAN>1</IsValidPAN>
  <LastName>sample string 6</LastName>
  <Latitude>sample string 15</Latitude>
  <Longitude>sample string 16</Longitude>
  <MaritalStatusID>1</MaritalStatusID>
  <MeterNumber>sample string 20</MeterNumber>
  <MiddleName>sample string 5</MiddleName>
  <MobileNumber>sample string 12</MobileNumber>
  <MonthlyIncome>1</MonthlyIncome>
  <MotherName>sample string 10</MotherName>
  <NomineeAadhaar>sample string 27</NomineeAadhaar>
  <NomineeAddress>sample string 30</NomineeAddress>
  <NomineeBusinessAddress>sample string 35</NomineeBusinessAddress>
  <NomineeCompanyName>sample string 32</NomineeCompanyName>
  <NomineeEmployerName>sample string 33</NomineeEmployerName>
  <NomineeEmploymentTypeID>1</NomineeEmploymentTypeID>
  <NomineeImage>sample string 36</NomineeImage>
  <NomineeIndustryID>1</NomineeIndustryID>
  <NomineeMobile>sample string 26</NomineeMobile>
  <NomineeName>sample string 25</NomineeName>
  <NomineeOfficeEmail>sample string 34</NomineeOfficeEmail>
  <NomineeOrganizationID>1</NomineeOrganizationID>
  <NomineePan>sample string 29</NomineePan>
  <NomineeRationCard>sample string 31</NomineeRationCard>
  <NomineeRelationID>1</NomineeRelationID>
  <NomineeVoterID>sample string 28</NomineeVoterID>
  <Occupation>sample string 8</Occupation>
  <OfficeEmail>sample string 65</OfficeEmail>
  <OrganizationID>1</OrganizationID>
  <PAN>sample string 18</PAN>
  <Passport>sample string 24</Passport>
  <Per_Address1>sample string 46</Per_Address1>
  <Per_Address2>sample string 47</Per_Address2>
  <Per_Area>sample string 51</Per_Area>
  <Per_City>sample string 53</Per_City>
  <Per_CountryID>1</Per_CountryID>
  <Per_Landmark>sample string 52</Per_Landmark>
  <Per_Panchayat>sample string 50</Per_Panchayat>
  <Per_Para>sample string 48</Per_Para>
  <Per_Pincode>sample string 54</Per_Pincode>
  <Per_StateID>1</Per_StateID>
  <Per_Ward>sample string 49</Per_Ward>
  <PrvEmployeeCode>sample string 63</PrvEmployeeCode>
  <Qualification>sample string 7</Qualification>
  <RationCard>sample string 19</RationCard>
  <Salary>1</Salary>
  <StaffID>1</StaffID>
  <TitleID>1</TitleID>
  <UnitID>1</UnitID>
  <UserID>1</UserID>
  <VoterID>sample string 66</VoterID>
</CustomerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.