POST api/Brand/Create
Create a new Brand and its related data
Request Information
URI Parameters
None.
Body Parameters
String Array of Brand Information(Mandatory)
BrandCreateJSONName | Description | Type | Additional information |
---|---|---|---|
basic_information | BrandBasicinformation |
None. |
|
document_information | Collection of BrandDocumentInformation |
None. |
Request Formats
application/json, text/json
Sample:
{ "basic_information": { "BrandId": 1, "OrganizationId": 1, "BrandName": "sample string 1", "BrandCode": "sample string 2", "IsActive": true, "Deleted": 1, "CreatedBy": 1, "LastModifiedBy": 1, "LastUpdatedDateTime": "2025-07-18T15:38:16.4492749+00:00", "IsDeleted": true }, "document_information": [ { "DocumentId": 1, "BrandId": 1, "DocumentTypeId": 1, "DocumentTitle": "sample string 1", "DocumentURL": "sample string 2", "IsActive": true, "Category": "sample string 4", "Place": "sample string 5", "Notes": "sample string 6", "ValidDateFrom": "2025-07-18T15:38:16.4492749+00:00", "ValidDateTo": "2025-07-18T15:38:16.4492749+00:00", "Versionnumber": "sample string 7", "Deleted": 1, "CreatedBy": 1, "LastModifiedBy": 1, "LastUpdatedDateTime": "2025-07-18T15:38:16.4492749+00:00", "IsDeleted": true, "IsPublic": true }, { "DocumentId": 1, "BrandId": 1, "DocumentTypeId": 1, "DocumentTitle": "sample string 1", "DocumentURL": "sample string 2", "IsActive": true, "Category": "sample string 4", "Place": "sample string 5", "Notes": "sample string 6", "ValidDateFrom": "2025-07-18T15:38:16.4492749+00:00", "ValidDateTo": "2025-07-18T15:38:16.4492749+00:00", "Versionnumber": "sample string 7", "Deleted": 1, "CreatedBy": 1, "LastModifiedBy": 1, "LastUpdatedDateTime": "2025-07-18T15:38:16.4492749+00:00", "IsDeleted": true, "IsPublic": true } ] }
application/xml, text/xml
Sample:
<BrandCreateJSON xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers"> <basic_information> <BrandCode>sample string 2</BrandCode> <BrandId>1</BrandId> <BrandName>sample string 1</BrandName> <CreatedBy>1</CreatedBy> <Deleted>1</Deleted> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <LastModifiedBy>1</LastModifiedBy> <LastUpdatedDateTime>2025-07-18T15:38:16.4492749+00:00</LastUpdatedDateTime> <OrganizationId>1</OrganizationId> </basic_information> <document_information> <BrandDocumentInformation> <BrandId>1</BrandId> <Category>sample string 4</Category> <CreatedBy>1</CreatedBy> <Deleted>1</Deleted> <DocumentId>1</DocumentId> <DocumentTitle>sample string 1</DocumentTitle> <DocumentTypeId>1</DocumentTypeId> <DocumentURL>sample string 2</DocumentURL> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <IsPublic>true</IsPublic> <LastModifiedBy>1</LastModifiedBy> <LastUpdatedDateTime>2025-07-18T15:38:16.4492749+00:00</LastUpdatedDateTime> <Notes>sample string 6</Notes> <Place>sample string 5</Place> <ValidDateFrom>2025-07-18T15:38:16.4492749+00:00</ValidDateFrom> <ValidDateTo>2025-07-18T15:38:16.4492749+00:00</ValidDateTo> <Versionnumber>sample string 7</Versionnumber> </BrandDocumentInformation> <BrandDocumentInformation> <BrandId>1</BrandId> <Category>sample string 4</Category> <CreatedBy>1</CreatedBy> <Deleted>1</Deleted> <DocumentId>1</DocumentId> <DocumentTitle>sample string 1</DocumentTitle> <DocumentTypeId>1</DocumentTypeId> <DocumentURL>sample string 2</DocumentURL> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <IsPublic>true</IsPublic> <LastModifiedBy>1</LastModifiedBy> <LastUpdatedDateTime>2025-07-18T15:38:16.4492749+00:00</LastUpdatedDateTime> <Notes>sample string 6</Notes> <Place>sample string 5</Place> <ValidDateFrom>2025-07-18T15:38:16.4492749+00:00</ValidDateFrom> <ValidDateTo>2025-07-18T15:38:16.4492749+00:00</ValidDateTo> <Versionnumber>sample string 7</Versionnumber> </BrandDocumentInformation> </document_information> </BrandCreateJSON>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>