POST api/OrgChart/AddProto
Request Information
URI Parameters
None.
Body Parameters
OrgChartModelName | Description | Type | Additional information |
---|---|---|---|
CompanyId | integer |
None. |
|
SalesforceNameId | integer |
None. |
|
CountryId | integer |
None. |
|
TherapeuticCategoryId | integer |
None. |
|
RegionalManagers | string |
None. |
|
DistrictManagers | string |
None. |
|
PeriodId | integer |
None. |
|
OrgChartLink | string |
None. |
|
BranchManager | string |
None. |
|
TeamLeaders | string |
None. |
|
SalesRepresentatives | string |
None. |
|
Parent | boolean |
None. |
|
Footnote | boolean |
None. |
|
ID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CompanyId": 1, "SalesforceNameId": 2, "CountryId": 3, "TherapeuticCategoryId": 4, "RegionalManagers": "sample string 5", "DistrictManagers": "sample string 6", "PeriodId": 7, "OrgChartLink": "sample string 8", "BranchManager": "sample string 9", "TeamLeaders": "sample string 10", "SalesRepresentatives": "sample string 11", "Parent": true, "Footnote": true, "ID": 14 }
application/xml, text/xml
Sample:
<OrgChartModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAWebAPI.Models"> <BranchManager>sample string 9</BranchManager> <CompanyId>1</CompanyId> <CountryId>3</CountryId> <DistrictManagers>sample string 6</DistrictManagers> <Footnote>true</Footnote> <ID>14</ID> <OrgChartLink>sample string 8</OrgChartLink> <Parent>true</Parent> <PeriodId>7</PeriodId> <RegionalManagers>sample string 5</RegionalManagers> <SalesRepresentatives>sample string 11</SalesRepresentatives> <SalesforceNameId>2</SalesforceNameId> <TeamLeaders>sample string 10</TeamLeaders> <TherapeuticCategoryId>4</TherapeuticCategoryId> </OrgChartModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.