POST Companies
Creates a new company.
Request Information
URI Parameters
None.
Body Parameters
The data of the company.
CompanyDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
NetworkId | globally unique identifier |
None. |
|
Code | string |
None. |
|
Name | string |
None. |
|
Street1 | string |
None. |
|
Street2 | string |
None. |
|
CountryId | globally unique identifier |
None. |
|
CountryDescription | string |
None. |
|
StateId | globally unique identifier |
None. |
|
StateDescription | string |
None. |
|
ZipCode | string |
None. |
|
City | string |
None. |
|
Street1Delivery | string |
None. |
|
Street2Delivery | string |
None. |
|
ZipCodeDelivery | string |
None. |
|
CityDelivery | string |
None. |
|
StateDelivery | string |
None. |
|
CountryDelivery | string |
None. |
|
IdStateDelivery | globally unique identifier |
None. |
|
IdCountryDelivery | globally unique identifier |
None. |
|
TaxPayerId | string |
None. |
|
TaxpayerCategoryId | globally unique identifier |
None. |
|
TaxpayerCategoryDescription | string |
None. |
|
IndustryId | globally unique identifier |
None. |
|
IndustryDescription | string |
None. |
|
CreationDate | date |
None. |
|
Type | byte |
None. |
|
UpdateDate | date |
None. |
|
ContactName | string |
None. |
|
ContactEmail | string |
None. |
|
ContactPhone1 | string |
None. |
|
ContactPhone2 | string |
None. |
|
Active | boolean |
None. |
|
DesactivationType | byte |
None. |
|
Plan | byte |
None. |
|
CompaniesGroupId | globally unique identifier |
None. |
|
PermissionsType | integer |
None. |
|
IsCodeAutomaticallyGenerated | boolean |
None. |
|
Custom0 | string |
None. |
|
Custom1 | string |
None. |
|
Custom2 | string |
None. |
|
Custom3 | string |
None. |
|
EnableCustom1 | boolean |
None. |
|
EnableCustom2 | boolean |
None. |
|
EnableCustom3 | boolean |
None. |
|
EnableCustom4 | boolean |
None. |
|
LabelCustom1 | string |
None. |
|
LabelCustom2 | string |
None. |
|
LabelCustom3 | string |
None. |
|
LabelCustom4 | string |
None. |
|
CompanyDocuments | Collection of CompanyDocumentDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "3cef5b24-0f5f-4fb3-aaac-0d77c78ddd05", "NetworkId": "a30b2600-94d6-4ee7-9761-854ef16a36cc", "Code": "sample string 3", "Name": "sample string 4", "Street1": "sample string 5", "Street2": "sample string 6", "CountryId": "dc13d314-4301-407c-aa65-1e89cd38706c", "CountryDescription": "sample string 8", "StateId": "7d54116e-9dda-4ef2-bf1b-6d404d31994e", "StateDescription": "sample string 10", "ZipCode": "sample string 11", "City": "sample string 12", "Street1Delivery": "sample string 13", "Street2Delivery": "sample string 14", "ZipCodeDelivery": "sample string 15", "CityDelivery": "sample string 16", "StateDelivery": "sample string 17", "CountryDelivery": "sample string 18", "IdStateDelivery": "580b0a68-e497-4d6f-883a-38a63e093e94", "IdCountryDelivery": "87a54c79-039b-45be-8c9b-3396b1feacec", "TaxPayerId": "sample string 19", "TaxpayerCategoryId": "4e5bec8c-e30c-49b8-a193-040616653a3c", "TaxpayerCategoryDescription": "sample string 21", "IndustryId": "ecb7e29d-2ecf-423c-837c-71995f8ff4a5", "IndustryDescription": "sample string 23", "CreationDate": "2025-07-05T18:24:22.6508088Z", "Type": 64, "UpdateDate": "2025-07-05T18:24:22.6508088Z", "ContactName": "sample string 27", "ContactEmail": "sample string 28", "ContactPhone1": "sample string 29", "ContactPhone2": "sample string 30", "Active": true, "DesactivationType": 64, "Plan": 64, "CompaniesGroupId": "9f09f67d-6096-4bf1-b5ea-1ad8153d823f", "PermissionsType": 32, "IsCodeAutomaticallyGenerated": true, "Custom0": "sample string 34", "Custom1": "sample string 35", "Custom2": "sample string 36", "Custom3": "sample string 37", "EnableCustom1": true, "EnableCustom2": true, "EnableCustom3": true, "EnableCustom4": true, "LabelCustom1": "sample string 42", "LabelCustom2": "sample string 43", "LabelCustom3": "sample string 44", "LabelCustom4": "sample string 45", "CompanyDocuments": [ { "Id": "697ea244-9524-425a-b3cc-3c56ffb669d7", "FileName": "sample string 2", "FileFullUrl": "sample string 3", "FileExtension": "sample string 4", "FileContent": "QEA=", "DocumentStatus": 0 }, { "Id": "697ea244-9524-425a-b3cc-3c56ffb669d7", "FileName": "sample string 2", "FileFullUrl": "sample string 3", "FileExtension": "sample string 4", "FileContent": "QEA=", "DocumentStatus": 0 } ] }
application/xml, text/xml
Sample:
<CompanyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Active>true</Active> <City>sample string 12</City> <CityDelivery>sample string 16</CityDelivery> <Code>sample string 3</Code> <CompaniesGroupId>9f09f67d-6096-4bf1-b5ea-1ad8153d823f</CompaniesGroupId> <CompanyDocuments> <CompanyDocumentDto> <DocumentStatus>Add</DocumentStatus> <FileContent>QEA=</FileContent> <FileExtension>sample string 4</FileExtension> <FileFullUrl>sample string 3</FileFullUrl> <FileName>sample string 2</FileName> <Id>697ea244-9524-425a-b3cc-3c56ffb669d7</Id> </CompanyDocumentDto> <CompanyDocumentDto> <DocumentStatus>Add</DocumentStatus> <FileContent>QEA=</FileContent> <FileExtension>sample string 4</FileExtension> <FileFullUrl>sample string 3</FileFullUrl> <FileName>sample string 2</FileName> <Id>697ea244-9524-425a-b3cc-3c56ffb669d7</Id> </CompanyDocumentDto> </CompanyDocuments> <ContactEmail>sample string 28</ContactEmail> <ContactName>sample string 27</ContactName> <ContactPhone1>sample string 29</ContactPhone1> <ContactPhone2>sample string 30</ContactPhone2> <CountryDelivery>sample string 18</CountryDelivery> <CountryDescription>sample string 8</CountryDescription> <CountryId>dc13d314-4301-407c-aa65-1e89cd38706c</CountryId> <CreationDate>2025-07-05T18:24:22.6508088Z</CreationDate> <Custom0>sample string 34</Custom0> <Custom1>sample string 35</Custom1> <Custom2>sample string 36</Custom2> <Custom3>sample string 37</Custom3> <DesactivationType>64</DesactivationType> <EnableCustom1>true</EnableCustom1> <EnableCustom2>true</EnableCustom2> <EnableCustom3>true</EnableCustom3> <EnableCustom4>true</EnableCustom4> <Id>3cef5b24-0f5f-4fb3-aaac-0d77c78ddd05</Id> <IdCountryDelivery>87a54c79-039b-45be-8c9b-3396b1feacec</IdCountryDelivery> <IdStateDelivery>580b0a68-e497-4d6f-883a-38a63e093e94</IdStateDelivery> <IndustryDescription>sample string 23</IndustryDescription> <IndustryId>ecb7e29d-2ecf-423c-837c-71995f8ff4a5</IndustryId> <IsCodeAutomaticallyGenerated>true</IsCodeAutomaticallyGenerated> <LabelCustom1>sample string 42</LabelCustom1> <LabelCustom2>sample string 43</LabelCustom2> <LabelCustom3>sample string 44</LabelCustom3> <LabelCustom4>sample string 45</LabelCustom4> <Name>sample string 4</Name> <NetworkId>a30b2600-94d6-4ee7-9761-854ef16a36cc</NetworkId> <PermissionsType>32</PermissionsType> <Plan>64</Plan> <StateDelivery>sample string 17</StateDelivery> <StateDescription>sample string 10</StateDescription> <StateId>7d54116e-9dda-4ef2-bf1b-6d404d31994e</StateId> <Street1>sample string 5</Street1> <Street1Delivery>sample string 13</Street1Delivery> <Street2>sample string 6</Street2> <Street2Delivery>sample string 14</Street2Delivery> <TaxPayerId>sample string 19</TaxPayerId> <TaxpayerCategoryDescription>sample string 21</TaxpayerCategoryDescription> <TaxpayerCategoryId>4e5bec8c-e30c-49b8-a193-040616653a3c</TaxpayerCategoryId> <Type>64</Type> <UpdateDate>2025-07-05T18:24:22.6508088Z</UpdateDate> <ZipCode>sample string 11</ZipCode> <ZipCodeDelivery>sample string 15</ZipCodeDelivery> </CompanyDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
State of the action, and if created returns the company as CompanyDto and the link to de company.
CompanyDtoName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
NetworkId | globally unique identifier |
None. |
|
Code | string |
None. |
|
Name | string |
None. |
|
Street1 | string |
None. |
|
Street2 | string |
None. |
|
CountryId | globally unique identifier |
None. |
|
CountryDescription | string |
None. |
|
StateId | globally unique identifier |
None. |
|
StateDescription | string |
None. |
|
ZipCode | string |
None. |
|
City | string |
None. |
|
Street1Delivery | string |
None. |
|
Street2Delivery | string |
None. |
|
ZipCodeDelivery | string |
None. |
|
CityDelivery | string |
None. |
|
StateDelivery | string |
None. |
|
CountryDelivery | string |
None. |
|
IdStateDelivery | globally unique identifier |
None. |
|
IdCountryDelivery | globally unique identifier |
None. |
|
TaxPayerId | string |
None. |
|
TaxpayerCategoryId | globally unique identifier |
None. |
|
TaxpayerCategoryDescription | string |
None. |
|
IndustryId | globally unique identifier |
None. |
|
IndustryDescription | string |
None. |
|
CreationDate | date |
None. |
|
Type | byte |
None. |
|
UpdateDate | date |
None. |
|
ContactName | string |
None. |
|
ContactEmail | string |
None. |
|
ContactPhone1 | string |
None. |
|
ContactPhone2 | string |
None. |
|
Active | boolean |
None. |
|
DesactivationType | byte |
None. |
|
Plan | byte |
None. |
|
CompaniesGroupId | globally unique identifier |
None. |
|
PermissionsType | integer |
None. |
|
IsCodeAutomaticallyGenerated | boolean |
None. |
|
Custom0 | string |
None. |
|
Custom1 | string |
None. |
|
Custom2 | string |
None. |
|
Custom3 | string |
None. |
|
EnableCustom1 | boolean |
None. |
|
EnableCustom2 | boolean |
None. |
|
EnableCustom3 | boolean |
None. |
|
EnableCustom4 | boolean |
None. |
|
LabelCustom1 | string |
None. |
|
LabelCustom2 | string |
None. |
|
LabelCustom3 | string |
None. |
|
LabelCustom4 | string |
None. |
|
CompanyDocuments | Collection of CompanyDocumentDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "8def9d0e-c3ba-45fe-88d7-032a4aad55ed", "NetworkId": "043dbde4-2996-49b9-a380-52ab857c914b", "Code": "sample string 3", "Name": "sample string 4", "Street1": "sample string 5", "Street2": "sample string 6", "CountryId": "293e3055-783a-414b-b342-0f051f1415ef", "CountryDescription": "sample string 8", "StateId": "602b674b-e85f-4237-989b-7975a7c00c65", "StateDescription": "sample string 10", "ZipCode": "sample string 11", "City": "sample string 12", "Street1Delivery": "sample string 13", "Street2Delivery": "sample string 14", "ZipCodeDelivery": "sample string 15", "CityDelivery": "sample string 16", "StateDelivery": "sample string 17", "CountryDelivery": "sample string 18", "IdStateDelivery": "2083a000-77fd-4d73-b01c-0e47825541ca", "IdCountryDelivery": "c9984ace-429a-48da-bee8-fa8e251579f7", "TaxPayerId": "sample string 19", "TaxpayerCategoryId": "1b95b7b9-041a-4e56-a798-a87675b56457", "TaxpayerCategoryDescription": "sample string 21", "IndustryId": "22a51f4a-2018-4277-a002-b16386b3b47d", "IndustryDescription": "sample string 23", "CreationDate": "2025-07-05T18:24:22.6820591Z", "Type": 64, "UpdateDate": "2025-07-05T18:24:22.6820591Z", "ContactName": "sample string 27", "ContactEmail": "sample string 28", "ContactPhone1": "sample string 29", "ContactPhone2": "sample string 30", "Active": true, "DesactivationType": 64, "Plan": 64, "CompaniesGroupId": "710df8f7-0900-4166-beb1-590955c76845", "PermissionsType": 32, "IsCodeAutomaticallyGenerated": true, "Custom0": "sample string 34", "Custom1": "sample string 35", "Custom2": "sample string 36", "Custom3": "sample string 37", "EnableCustom1": true, "EnableCustom2": true, "EnableCustom3": true, "EnableCustom4": true, "LabelCustom1": "sample string 42", "LabelCustom2": "sample string 43", "LabelCustom3": "sample string 44", "LabelCustom4": "sample string 45", "CompanyDocuments": [ { "Id": "a26113be-b396-46e7-9291-b7ee325bfa9d", "FileName": "sample string 2", "FileFullUrl": "sample string 3", "FileExtension": "sample string 4", "FileContent": "QEA=", "DocumentStatus": 0 }, { "Id": "a26113be-b396-46e7-9291-b7ee325bfa9d", "FileName": "sample string 2", "FileFullUrl": "sample string 3", "FileExtension": "sample string 4", "FileContent": "QEA=", "DocumentStatus": 0 } ] }
application/xml, text/xml
Sample:
<CompanyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model"> <Active>true</Active> <City>sample string 12</City> <CityDelivery>sample string 16</CityDelivery> <Code>sample string 3</Code> <CompaniesGroupId>710df8f7-0900-4166-beb1-590955c76845</CompaniesGroupId> <CompanyDocuments> <CompanyDocumentDto> <DocumentStatus>Add</DocumentStatus> <FileContent>QEA=</FileContent> <FileExtension>sample string 4</FileExtension> <FileFullUrl>sample string 3</FileFullUrl> <FileName>sample string 2</FileName> <Id>a26113be-b396-46e7-9291-b7ee325bfa9d</Id> </CompanyDocumentDto> <CompanyDocumentDto> <DocumentStatus>Add</DocumentStatus> <FileContent>QEA=</FileContent> <FileExtension>sample string 4</FileExtension> <FileFullUrl>sample string 3</FileFullUrl> <FileName>sample string 2</FileName> <Id>a26113be-b396-46e7-9291-b7ee325bfa9d</Id> </CompanyDocumentDto> </CompanyDocuments> <ContactEmail>sample string 28</ContactEmail> <ContactName>sample string 27</ContactName> <ContactPhone1>sample string 29</ContactPhone1> <ContactPhone2>sample string 30</ContactPhone2> <CountryDelivery>sample string 18</CountryDelivery> <CountryDescription>sample string 8</CountryDescription> <CountryId>293e3055-783a-414b-b342-0f051f1415ef</CountryId> <CreationDate>2025-07-05T18:24:22.6820591Z</CreationDate> <Custom0>sample string 34</Custom0> <Custom1>sample string 35</Custom1> <Custom2>sample string 36</Custom2> <Custom3>sample string 37</Custom3> <DesactivationType>64</DesactivationType> <EnableCustom1>true</EnableCustom1> <EnableCustom2>true</EnableCustom2> <EnableCustom3>true</EnableCustom3> <EnableCustom4>true</EnableCustom4> <Id>8def9d0e-c3ba-45fe-88d7-032a4aad55ed</Id> <IdCountryDelivery>c9984ace-429a-48da-bee8-fa8e251579f7</IdCountryDelivery> <IdStateDelivery>2083a000-77fd-4d73-b01c-0e47825541ca</IdStateDelivery> <IndustryDescription>sample string 23</IndustryDescription> <IndustryId>22a51f4a-2018-4277-a002-b16386b3b47d</IndustryId> <IsCodeAutomaticallyGenerated>true</IsCodeAutomaticallyGenerated> <LabelCustom1>sample string 42</LabelCustom1> <LabelCustom2>sample string 43</LabelCustom2> <LabelCustom3>sample string 44</LabelCustom3> <LabelCustom4>sample string 45</LabelCustom4> <Name>sample string 4</Name> <NetworkId>043dbde4-2996-49b9-a380-52ab857c914b</NetworkId> <PermissionsType>32</PermissionsType> <Plan>64</Plan> <StateDelivery>sample string 17</StateDelivery> <StateDescription>sample string 10</StateDescription> <StateId>602b674b-e85f-4237-989b-7975a7c00c65</StateId> <Street1>sample string 5</Street1> <Street1Delivery>sample string 13</Street1Delivery> <Street2>sample string 6</Street2> <Street2Delivery>sample string 14</Street2Delivery> <TaxPayerId>sample string 19</TaxPayerId> <TaxpayerCategoryDescription>sample string 21</TaxpayerCategoryDescription> <TaxpayerCategoryId>1b95b7b9-041a-4e56-a798-a87675b56457</TaxpayerCategoryId> <Type>64</Type> <UpdateDate>2025-07-05T18:24:22.6820591Z</UpdateDate> <ZipCode>sample string 11</ZipCode> <ZipCodeDelivery>sample string 15</ZipCodeDelivery> </CompanyDto>