POST api/CoPromotion/Add
Request Information
URI Parameters
None.
Body Parameters
CopromotionModelName | Description | Type | Additional information |
---|---|---|---|
NotesList | Collection of NotesModel |
None. |
|
BrandID | integer |
None. |
|
CountryIDs | string |
None. |
|
CompanyID | integer |
None. |
|
Periods | string |
None. |
|
TherapeuticCategoryId | integer |
None. |
|
SalesforceID | integer |
None. |
|
SalesforceTypeId | integer |
None. |
|
EmployeeTypeId | integer |
None. |
|
CompensationTypeId | integer |
None. |
|
NoteTypeId | integer |
None. |
|
Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "NotesList": [ { "BrandID": 1, "CountryID": 2, "CompanyID": 3, "PeriodID": 4, "TherapeuticCategoryID": 5, "SalesforceID": 6, "EmployeeTypeID": 7, "CompensationTypeID": 8, "SalesforceTypeID": 9 }, { "BrandID": 1, "CountryID": 2, "CompanyID": 3, "PeriodID": 4, "TherapeuticCategoryID": 5, "SalesforceID": 6, "EmployeeTypeID": 7, "CompensationTypeID": 8, "SalesforceTypeID": 9 } ], "BrandID": 1, "CountryIDs": "sample string 2", "CompanyID": 3, "Periods": "sample string 4", "TherapeuticCategoryId": 5, "SalesforceID": 6, "SalesforceTypeId": 7, "EmployeeTypeId": 8, "CompensationTypeId": 9, "NoteTypeId": 10, "Notes": "sample string 11" }
application/xml, text/xml
Sample:
<CopromotionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAWebAPI.Models"> <BrandID>1</BrandID> <CompanyID>3</CompanyID> <CompensationTypeId>9</CompensationTypeId> <CountryIDs>sample string 2</CountryIDs> <EmployeeTypeId>8</EmployeeTypeId> <NoteTypeId>10</NoteTypeId> <Notes>sample string 11</Notes> <NotesList> <NotesModel> <BrandID>1</BrandID> <CompanyID>3</CompanyID> <CompensationTypeID>8</CompensationTypeID> <CountryID>2</CountryID> <EmployeeTypeID>7</EmployeeTypeID> <PeriodID>4</PeriodID> <SalesforceID>6</SalesforceID> <SalesforceTypeID>9</SalesforceTypeID> <TherapeuticCategoryID>5</TherapeuticCategoryID> </NotesModel> <NotesModel> <BrandID>1</BrandID> <CompanyID>3</CompanyID> <CompensationTypeID>8</CompensationTypeID> <CountryID>2</CountryID> <EmployeeTypeID>7</EmployeeTypeID> <PeriodID>4</PeriodID> <SalesforceID>6</SalesforceID> <SalesforceTypeID>9</SalesforceTypeID> <TherapeuticCategoryID>5</TherapeuticCategoryID> </NotesModel> </NotesList> <Periods>sample string 4</Periods> <SalesforceID>6</SalesforceID> <SalesforceTypeId>7</SalesforceTypeId> <TherapeuticCategoryId>5</TherapeuticCategoryId> </CopromotionModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.