POST api/AttendanceAndTimesheet/InsertCustomerDetails

Request Information

URI Parameters

None.

Body Parameters

InsertCustomerEntity
NameDescriptionTypeAdditional information
ClientId

integer

None.

OrgaID

string

None.

ClientName

string

None.

shortName

string

None.

IndustryType

string

None.

ClientCategory

string

None.

ContactPerson

string

None.

Telephone

string

None.

Fax

string

None.

Address

string

None.

IsActive

boolean

None.

CountryId

integer

None.

AccountOwnerID

integer

None.

WebSite

string

None.

Email

string

None.

Coordinate

string

None.

CustomerType

string

None.

StatusName

string

None.

Department

string

None.

UserID

integer

None.

Token

string

None.

ActionType

string

None.

SalesGroupID

integer

None.

GroupManagerID

integer

None.

StateID

integer

None.

CorporateEmail

string

None.

Ext

string

None.

HandPhone

string

None.

LeadSourceID

integer

None.

InterestID

integer

None.

TypeID

integer

None.

SalesStageID

integer

None.

ExpectedCloseDate

string

None.

ForecastAmount

decimal number

None.

FollowupDate

string

None.

Time

string

None.

ReasonPurpose

string

None.

PostRemark

string

None.

CreatedBy

integer

None.

FollowType

integer

None.

FollowupPurpose

integer

None.

Followupstatus

integer

None.

CustomerID

integer

None.

FollowUpID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientId": 1,
  "OrgaID": "sample string 2",
  "ClientName": "sample string 3",
  "shortName": "sample string 4",
  "IndustryType": "sample string 5",
  "ClientCategory": "sample string 6",
  "ContactPerson": "sample string 7",
  "Telephone": "sample string 8",
  "Fax": "sample string 9",
  "Address": "sample string 10",
  "IsActive": true,
  "CountryId": 12,
  "AccountOwnerID": 13,
  "WebSite": "sample string 14",
  "Email": "sample string 15",
  "Coordinate": "sample string 16",
  "CustomerType": "sample string 17",
  "StatusName": "sample string 18",
  "Department": "sample string 19",
  "UserID": 20,
  "Token": "sample string 21",
  "ActionType": "sample string 22",
  "SalesGroupID": 23,
  "GroupManagerID": 24,
  "StateID": 25,
  "CorporateEmail": "sample string 26",
  "Ext": "sample string 27",
  "HandPhone": "sample string 28",
  "LeadSourceID": 29,
  "InterestID": 30,
  "TypeID": 31,
  "SalesStageID": 32,
  "ExpectedCloseDate": "sample string 33",
  "ForecastAmount": 34.0,
  "FollowupDate": "sample string 35",
  "Time": "sample string 36",
  "ReasonPurpose": "sample string 37",
  "PostRemark": "sample string 38",
  "CreatedBy": 39,
  "FollowType": 40,
  "FollowupPurpose": 41,
  "Followupstatus": 42,
  "CustomerID": 43,
  "FollowUpID": 44
}

text/html

Sample:
{"ClientId":1,"OrgaID":"sample string 2","ClientName":"sample string 3","shortName":"sample string 4","IndustryType":"sample string 5","ClientCategory":"sample string 6","ContactPerson":"sample string 7","Telephone":"sample string 8","Fax":"sample string 9","Address":"sample string 10","IsActive":true,"CountryId":12,"AccountOwnerID":13,"WebSite":"sample string 14","Email":"sample string 15","Coordinate":"sample string 16","CustomerType":"sample string 17","StatusName":"sample string 18","Department":"sample string 19","UserID":20,"Token":"sample string 21","ActionType":"sample string 22","SalesGroupID":23,"GroupManagerID":24,"StateID":25,"CorporateEmail":"sample string 26","Ext":"sample string 27","HandPhone":"sample string 28","LeadSourceID":29,"InterestID":30,"TypeID":31,"SalesStageID":32,"ExpectedCloseDate":"sample string 33","ForecastAmount":34.0,"FollowupDate":"sample string 35","Time":"sample string 36","ReasonPurpose":"sample string 37","PostRemark":"sample string 38","CreatedBy":39,"FollowType":40,"FollowupPurpose":41,"Followupstatus":42,"CustomerID":43,"FollowUpID":44}

application/xml, text/xml

Sample:
<AttendanceAndTimesheetController.InsertCustomerEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <AccountOwnerID>13</AccountOwnerID>
  <ActionType>sample string 22</ActionType>
  <Address>sample string 10</Address>
  <ClientCategory>sample string 6</ClientCategory>
  <ClientId>1</ClientId>
  <ClientName>sample string 3</ClientName>
  <ContactPerson>sample string 7</ContactPerson>
  <Coordinate>sample string 16</Coordinate>
  <CorporateEmail>sample string 26</CorporateEmail>
  <CountryId>12</CountryId>
  <CreatedBy>39</CreatedBy>
  <CustomerID>43</CustomerID>
  <CustomerType>sample string 17</CustomerType>
  <Department>sample string 19</Department>
  <Email>sample string 15</Email>
  <ExpectedCloseDate>sample string 33</ExpectedCloseDate>
  <Ext>sample string 27</Ext>
  <Fax>sample string 9</Fax>
  <FollowType>40</FollowType>
  <FollowUpID>44</FollowUpID>
  <FollowupDate>sample string 35</FollowupDate>
  <FollowupPurpose>41</FollowupPurpose>
  <Followupstatus>42</Followupstatus>
  <ForecastAmount>34</ForecastAmount>
  <GroupManagerID>24</GroupManagerID>
  <HandPhone>sample string 28</HandPhone>
  <IndustryType>sample string 5</IndustryType>
  <InterestID>30</InterestID>
  <IsActive>true</IsActive>
  <LeadSourceID>29</LeadSourceID>
  <OrgaID>sample string 2</OrgaID>
  <PostRemark>sample string 38</PostRemark>
  <ReasonPurpose>sample string 37</ReasonPurpose>
  <SalesGroupID>23</SalesGroupID>
  <SalesStageID>32</SalesStageID>
  <StateID>25</StateID>
  <StatusName>sample string 18</StatusName>
  <Telephone>sample string 8</Telephone>
  <Time>sample string 36</Time>
  <Token>sample string 21</Token>
  <TypeID>31</TypeID>
  <UserID>20</UserID>
  <WebSite>sample string 14</WebSite>
  <shortName>sample string 4</shortName>
</AttendanceAndTimesheetController.InsertCustomerEntity>

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 'InsertCustomerEntity'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>