POST CRManagement/InsertUpdateCR

Request Information

URI Parameters

None.

Body Parameters

ClientRelation
NameDescriptionTypeAdditional information
ID

integer

None.

IsChecked

integer

None.

CRName

string

None.

ProfileImage

string

None.

MiddleName

string

None.

LastName

string

None.

CompanyName

string

None.

Date

date

None.

TelephoneNumber

string

None.

MobileNumber

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

Landmark

string

None.

Pincode

string

None.

City

string

None.

State

string

None.

Country

string

None.

CRCode

string

None.

UserName

string

None.

OfficialEmailID

string

None.

Password

string

None.

CRManagementID

string

None.

IsActive

integer

None.

Gender

string

None.

UserID

string

None.

NoOfClient

integer

None.

MaritalStatus

string

None.

PanNo

string

None.

DOB

string

None.

AnniversaryDate

string

None.

TargetOfSales

string

None.

TargetOfMeeting

string

None.

SipMobileNo

string

None.

SipUser

string

None.

SipPassword

string

None.

SipExtension

string

None.

IsCr_OftheMonth

boolean

None.

RoleModuleMaster

Collection of RoleModuleMaster

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "IsChecked": 2,
  "CRName": "sample string 3",
  "ProfileImage": "sample string 4",
  "MiddleName": "sample string 5",
  "LastName": "sample string 6",
  "CompanyName": "sample string 7",
  "Date": "2025-01-10T20:22:36.0769974+05:30",
  "TelephoneNumber": "sample string 8",
  "MobileNumber": "sample string 9",
  "AddressLine1": "sample string 10",
  "AddressLine2": "sample string 11",
  "Landmark": "sample string 12",
  "Pincode": "sample string 13",
  "City": "sample string 14",
  "State": "sample string 15",
  "Country": "sample string 16",
  "CRCode": "sample string 17",
  "UserName": "sample string 18",
  "OfficialEmailID": "sample string 19",
  "Password": "sample string 20",
  "CRManagementID": "sample string 21",
  "IsActive": 22,
  "Gender": "sample string 23",
  "UserID": "sample string 24",
  "NoOfClient": 25,
  "MaritalStatus": "sample string 26",
  "PanNo": "sample string 27",
  "DOB": "sample string 28",
  "AnniversaryDate": "sample string 29",
  "TargetOfSales": "sample string 30",
  "TargetOfMeeting": "sample string 31",
  "SipMobileNo": "sample string 32",
  "SipUser": "sample string 33",
  "SipPassword": "sample string 34",
  "SipExtension": "sample string 35",
  "IsCr_OftheMonth": true,
  "RoleModuleMaster": [
    {
      "ID": 1,
      "RoleModuleID": "sample string 2",
      "RoleID": "sample string 3",
      "ModuleID": "sample string 4",
      "CanRead": 5,
      "CanModify": 6,
      "CanDelete": 7,
      "CanAdd": 8,
      "UserID": "sample string 9"
    },
    {
      "ID": 1,
      "RoleModuleID": "sample string 2",
      "RoleID": "sample string 3",
      "ModuleID": "sample string 4",
      "CanRead": 5,
      "CanModify": 6,
      "CanDelete": 7,
      "CanAdd": 8,
      "UserID": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<ClientRelation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstaGuru.Models">
  <AddressLine1>sample string 10</AddressLine1>
  <AddressLine2>sample string 11</AddressLine2>
  <AnniversaryDate>sample string 29</AnniversaryDate>
  <CRCode>sample string 17</CRCode>
  <CRManagementID>sample string 21</CRManagementID>
  <CRName>sample string 3</CRName>
  <City>sample string 14</City>
  <CompanyName>sample string 7</CompanyName>
  <Country>sample string 16</Country>
  <DOB>sample string 28</DOB>
  <Date>2025-01-10T20:22:36.0769974+05:30</Date>
  <Gender>sample string 23</Gender>
  <ID>1</ID>
  <IsActive>22</IsActive>
  <IsChecked>2</IsChecked>
  <IsCr_OftheMonth>true</IsCr_OftheMonth>
  <Landmark>sample string 12</Landmark>
  <LastName>sample string 6</LastName>
  <MaritalStatus>sample string 26</MaritalStatus>
  <MiddleName>sample string 5</MiddleName>
  <MobileNumber>sample string 9</MobileNumber>
  <NoOfClient>25</NoOfClient>
  <OfficialEmailID>sample string 19</OfficialEmailID>
  <PanNo>sample string 27</PanNo>
  <Password>sample string 20</Password>
  <Pincode>sample string 13</Pincode>
  <ProfileImage>sample string 4</ProfileImage>
  <RoleModuleMaster>
    <RoleModuleMaster>
      <CanAdd>8</CanAdd>
      <CanDelete>7</CanDelete>
      <CanModify>6</CanModify>
      <CanRead>5</CanRead>
      <ID>1</ID>
      <ModuleID>sample string 4</ModuleID>
      <RoleID>sample string 3</RoleID>
      <RoleModuleID>sample string 2</RoleModuleID>
      <UserID>sample string 9</UserID>
    </RoleModuleMaster>
    <RoleModuleMaster>
      <CanAdd>8</CanAdd>
      <CanDelete>7</CanDelete>
      <CanModify>6</CanModify>
      <CanRead>5</CanRead>
      <ID>1</ID>
      <ModuleID>sample string 4</ModuleID>
      <RoleID>sample string 3</RoleID>
      <RoleModuleID>sample string 2</RoleModuleID>
      <UserID>sample string 9</UserID>
    </RoleModuleMaster>
  </RoleModuleMaster>
  <SipExtension>sample string 35</SipExtension>
  <SipMobileNo>sample string 32</SipMobileNo>
  <SipPassword>sample string 34</SipPassword>
  <SipUser>sample string 33</SipUser>
  <State>sample string 15</State>
  <TargetOfMeeting>sample string 31</TargetOfMeeting>
  <TargetOfSales>sample string 30</TargetOfSales>
  <TelephoneNumber>sample string 8</TelephoneNumber>
  <UserID>sample string 24</UserID>
  <UserName>sample string 18</UserName>
</ClientRelation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.