POST api/Account?entityId={entityId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
entityId | globally unique identifier |
Required |
Body Parameters
EntitySaveModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
EntityName | string |
None. |
|
EntityId | string |
None. |
|
DisplayName | string |
None. |
|
PrimaryImage | PrimaryImage |
None. |
|
Cells | Collection of CellInfoModel |
None. |
|
RelationshipChanges | Collection of RelationshipChangeModel |
None. |
|
ImportExportRegionChanges | Collection of ImportExportRegionChangeModel |
None. |
|
BrandedProgramProductSales | Collection of BrandedProductSalesModel |
None. |
|
CountryProductSales | Collection of CountryProductSalesModel |
None. |
|
PromotedProducts | Collection of PromotedProductsModel |
None. |
|
MarketingPlanExpenses | Collection of MarketingPlanActivityModel |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<EntitySaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoodExport.Web.Services.Models"> <BrandedProgramProductSales> <BrandedProductSalesModel> <Id>c2312d4b-2f4c-4ed3-919c-ac05c450c3f2</Id> <ProgramYear>3</ProgramYear> <TotalDomesticSales>1</TotalDomesticSales> <TotalExportSales>1</TotalExportSales> <Year>sample string 2</Year> </BrandedProductSalesModel> <BrandedProductSalesModel> <Id>c2312d4b-2f4c-4ed3-919c-ac05c450c3f2</Id> <ProgramYear>3</ProgramYear> <TotalDomesticSales>1</TotalDomesticSales> <TotalExportSales>1</TotalExportSales> <Year>sample string 2</Year> </BrandedProductSalesModel> </BrandedProgramProductSales> <Cells> <CellInfoModel> <ClassId>sample string 3</ClassId> <EarlyBound>true</EarlyBound> <Id>sample string 1</Id> <TargetEntityType>sample string 4</TargetEntityType> <Text>sample string 2</Text> </CellInfoModel> <CellInfoModel> <ClassId>sample string 3</ClassId> <EarlyBound>true</EarlyBound> <Id>sample string 1</Id> <TargetEntityType>sample string 4</TargetEntityType> <Text>sample string 2</Text> </CellInfoModel> </Cells> <CountryProductSales> <CountryProductSalesModel> <Id>96420b73-3caa-4c61-a03b-1f93ba053c20</Id> <ProgramYear>3</ProgramYear> <SalesNotIncreasedComments>sample string 4</SalesNotIncreasedComments> <TotalSales>1</TotalSales> <Year>sample string 2</Year> </CountryProductSalesModel> <CountryProductSalesModel> <Id>96420b73-3caa-4c61-a03b-1f93ba053c20</Id> <ProgramYear>3</ProgramYear> <SalesNotIncreasedComments>sample string 4</SalesNotIncreasedComments> <TotalSales>1</TotalSales> <Year>sample string 2</Year> </CountryProductSalesModel> </CountryProductSales> <DisplayName>sample string 4</DisplayName> <EntityId>sample string 3</EntityId> <EntityName>sample string 2</EntityName> <Id>sample string 1</Id> <ImportExportRegionChanges> <ImportExportRegionChangeModel> <CurrentlyExporting>true</CurrentlyExporting> <CurrentlyImporting>true</CurrentlyImporting> <EntityId>sample string 2</EntityId> <Id>sample string 1</Id> <InterestedInExporting>true</InterestedInExporting> <InterestedInImporting>true</InterestedInImporting> </ImportExportRegionChangeModel> <ImportExportRegionChangeModel> <CurrentlyExporting>true</CurrentlyExporting> <CurrentlyImporting>true</CurrentlyImporting> <EntityId>sample string 2</EntityId> <Id>sample string 1</Id> <InterestedInExporting>true</InterestedInExporting> <InterestedInImporting>true</InterestedInImporting> </ImportExportRegionChangeModel> </ImportExportRegionChanges> <MarketingPlanExpenses> <MarketingPlanActivityModel> <BrandedReimbursementRate>1</BrandedReimbursementRate> <Checked>true</Checked> <CountryActivityId>1ba6ad56-46f0-4cae-835b-b26dda43f0cc</CountryActivityId> <Description>sample string 4</Description> <EligibleExpense>5</EligibleExpense> <ExpenseId>f2ce0864-5c37-456e-8efe-7d82713fd0e8</ExpenseId> <IsForeignTradeShowsMissions>true</IsForeignTradeShowsMissions> <PromotionPlan>sample string 3</PromotionPlan> </MarketingPlanActivityModel> <MarketingPlanActivityModel> <BrandedReimbursementRate>1</BrandedReimbursementRate> <Checked>true</Checked> <CountryActivityId>1ba6ad56-46f0-4cae-835b-b26dda43f0cc</CountryActivityId> <Description>sample string 4</Description> <EligibleExpense>5</EligibleExpense> <ExpenseId>f2ce0864-5c37-456e-8efe-7d82713fd0e8</ExpenseId> <IsForeignTradeShowsMissions>true</IsForeignTradeShowsMissions> <PromotionPlan>sample string 3</PromotionPlan> </MarketingPlanActivityModel> </MarketingPlanExpenses> <PrimaryImage> <CellId>sample string 4</CellId> <ContentType>sample string 2</ContentType> <FileName>sample string 1</FileName> <PrimaryImageBase64>sample string 3</PrimaryImageBase64> </PrimaryImage> <PromotedProducts> <PromotedProductsModel> <BrandName>sample string 3</BrandName> <Checked>true</Checked> <NewToMarket>true</NewToMarket> <ProductId>db324703-62da-421f-80cf-4b3c6a1ae5a8</ProductId> <ProductSubSubType>sample string 6</ProductSubSubType> <ProductSubType>sample string 5</ProductSubType> <ProductType>sample string 4</ProductType> <PromotedProductId>37d8367b-51f4-4cce-b7ae-5be685d0e536</PromotedProductId> </PromotedProductsModel> <PromotedProductsModel> <BrandName>sample string 3</BrandName> <Checked>true</Checked> <NewToMarket>true</NewToMarket> <ProductId>db324703-62da-421f-80cf-4b3c6a1ae5a8</ProductId> <ProductSubSubType>sample string 6</ProductSubSubType> <ProductSubType>sample string 5</ProductSubType> <ProductType>sample string 4</ProductType> <PromotedProductId>37d8367b-51f4-4cce-b7ae-5be685d0e536</PromotedProductId> </PromotedProductsModel> </PromotedProducts> <RelationshipChanges> <RelationshipChangeModel> <EntityId>fec72b51-6912-4dca-a571-21bb1bc9080b</EntityId> <Id>sample string 1</Id> <RelationshipName>sample string 3</RelationshipName> <Status>sample string 2</Status> <TargetEntityType>sample string 4</TargetEntityType> </RelationshipChangeModel> <RelationshipChangeModel> <EntityId>fec72b51-6912-4dca-a571-21bb1bc9080b</EntityId> <Id>sample string 1</Id> <RelationshipName>sample string 3</RelationshipName> <Status>sample string 2</Status> <TargetEntityType>sample string 4</TargetEntityType> </RelationshipChangeModel> </RelationshipChanges> </EntitySaveModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.