POST api/{database}/Organization

Creates a new Organization with the specified values



Request Information

Parameters

NameDescriptionAdditional information
value The Organization with the updated values.

Define this parameter in the request body.

$expand Addresses

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "accountManagerId": "sample string 1",
  "addresses": null,
  "messages": [],
  "businessNumber": "sample string 2",
  "canChange": true,
  "cannotChangeReason": "sample string 4",
  "city": "sample string 5",
  "cocCity": "sample string 6",
  "cocDate": "sample string 7",
  "cocRegistration": "sample string 8",
  "countryId": "sample string 9",
  "currencyId": "sample string 10",
  "customerId": "sample string 11",
  "dateChanged": "sample string 12",
  "dateCreated": "sample string 13",
  "email": "sample string 14",
  "fax": "sample string 15",
  "fullAddress": "sample string 16",
  "fullDeliveryAddress": "sample string 17",
  "googleMapsDirectionsUrl": "sample string 18",
  "googleMapsUrl": "sample string 19",
  "homepage": "sample string 20",
  "languageId": "sample string 21",
  "mobilePhone": "sample string 22",
  "name": "sample string 23",
  "organizationId": 24,
  "shortName": "sample string 25",
  "street1": "sample string 26",
  "street2": "sample string 27",
  "supplierId": "sample string 28",
  "telephone": "sample string 29",
  "vatNumber": "sample string 30",
  "vatVerificationDate": "sample string 31",
  "zipCode": "sample string 32"
}

application/xml, text/xml

Sample:
<Organization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AccountManagerId>sample string 1</AccountManagerId>
  <Addresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
  <BusinessNumber>sample string 2</BusinessNumber>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 4</CannotChangeReason>
  <City>sample string 5</City>
  <CocCity>sample string 6</CocCity>
  <CocDate>sample string 7</CocDate>
  <CocRegistration>sample string 8</CocRegistration>
  <CountryId>sample string 9</CountryId>
  <CurrencyId>sample string 10</CurrencyId>
  <CustomerId>sample string 11</CustomerId>
  <DateChanged>sample string 12</DateChanged>
  <DateCreated>sample string 13</DateCreated>
  <Email>sample string 14</Email>
  <Fax>sample string 15</Fax>
  <FullAddress>sample string 16</FullAddress>
  <FullDeliveryAddress>sample string 17</FullDeliveryAddress>
  <GoogleMapsDirectionsUrl>sample string 18</GoogleMapsDirectionsUrl>
  <GoogleMapsUrl>sample string 19</GoogleMapsUrl>
  <Homepage>sample string 20</Homepage>
  <LanguageId>sample string 21</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 22</MobilePhone>
  <Name>sample string 23</Name>
  <OrganizationId>24</OrganizationId>
  <ShortName>sample string 25</ShortName>
  <Street1>sample string 26</Street1>
  <Street2>sample string 27</Street2>
  <SupplierId>sample string 28</SupplierId>
  <Telephone>sample string 29</Telephone>
  <VatNumber>sample string 30</VatNumber>
  <VatVerificationDate>sample string 31</VatVerificationDate>
  <ZipCode>sample string 32</ZipCode>
</Organization>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "accountManagerId": "sample string 1",
  "addresses": null,
  "messages": [],
  "businessNumber": "sample string 2",
  "canChange": true,
  "cannotChangeReason": "sample string 4",
  "city": "sample string 5",
  "cocCity": "sample string 6",
  "cocDate": "sample string 7",
  "cocRegistration": "sample string 8",
  "countryId": "sample string 9",
  "currencyId": "sample string 10",
  "customerId": "sample string 11",
  "dateChanged": "sample string 12",
  "dateCreated": "sample string 13",
  "email": "sample string 14",
  "fax": "sample string 15",
  "fullAddress": "sample string 16",
  "fullDeliveryAddress": "sample string 17",
  "googleMapsDirectionsUrl": "sample string 18",
  "googleMapsUrl": "sample string 19",
  "homepage": "sample string 20",
  "languageId": "sample string 21",
  "mobilePhone": "sample string 22",
  "name": "sample string 23",
  "organizationId": 24,
  "shortName": "sample string 25",
  "street1": "sample string 26",
  "street2": "sample string 27",
  "supplierId": "sample string 28",
  "telephone": "sample string 29",
  "vatNumber": "sample string 30",
  "vatVerificationDate": "sample string 31",
  "zipCode": "sample string 32"
}

application/xml, text/xml

Sample:
<Organization xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AccountManagerId>sample string 1</AccountManagerId>
  <Addresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
  <BusinessNumber>sample string 2</BusinessNumber>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 4</CannotChangeReason>
  <City>sample string 5</City>
  <CocCity>sample string 6</CocCity>
  <CocDate>sample string 7</CocDate>
  <CocRegistration>sample string 8</CocRegistration>
  <CountryId>sample string 9</CountryId>
  <CurrencyId>sample string 10</CurrencyId>
  <CustomerId>sample string 11</CustomerId>
  <DateChanged>sample string 12</DateChanged>
  <DateCreated>sample string 13</DateCreated>
  <Email>sample string 14</Email>
  <Fax>sample string 15</Fax>
  <FullAddress>sample string 16</FullAddress>
  <FullDeliveryAddress>sample string 17</FullDeliveryAddress>
  <GoogleMapsDirectionsUrl>sample string 18</GoogleMapsDirectionsUrl>
  <GoogleMapsUrl>sample string 19</GoogleMapsUrl>
  <Homepage>sample string 20</Homepage>
  <LanguageId>sample string 21</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 22</MobilePhone>
  <Name>sample string 23</Name>
  <OrganizationId>24</OrganizationId>
  <ShortName>sample string 25</ShortName>
  <Street1>sample string 26</Street1>
  <Street2>sample string 27</Street2>
  <SupplierId>sample string 28</SupplierId>
  <Telephone>sample string 29</Telephone>
  <VatNumber>sample string 30</VatNumber>
  <VatVerificationDate>sample string 31</VatVerificationDate>
  <ZipCode>sample string 32</ZipCode>
</Organization>