POST api/{database}/Supplier

Creates a new Supplier with the specified values



Request Information

Parameters

NameDescriptionAdditional information
value The Supplier 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:
{
  "addresses": null,
  "messages": [],
  "belgianDirectDebitAccount": "sample string 1",
  "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",
  "combineInvoicesForElectronicBanking": true,
  "countryId": "sample string 10",
  "currencyId": "sample string 11",
  "customerId": "sample string 12",
  "customerIdSupplier": "sample string 13",
  "dateChanged": "sample string 14",
  "dateCreated": "sample string 15",
  "dateOfBirth": "sample string 16",
  "deliveryConditionId": "sample string 17",
  "email": "sample string 18",
  "expenseAccountId": "sample string 19",
  "fax": "sample string 20",
  "firstName": "sample string 21",
  "fullAddress": "sample string 22",
  "fullDeliveryAddress": "sample string 23",
  "googleMapsDirectionsUrl": "sample string 24",
  "googleMapsUrl": "sample string 25",
  "homepage": "sample string 26",
  "intrastatGoodsCodeId": 1,
  "intrastatGoodsDistributionId": 1,
  "intrastatStatSystemId": 1,
  "intrastatTrafficRegionId": 1,
  "intrastatTransactionTypeId": "sample string 27",
  "intrastatTransportTypeId": 1,
  "isPaymentRefRequired": true,
  "isSubcontractor": true,
  "languageId": "sample string 30",
  "lastName": "sample string 31",
  "legalEntityTypeId": "sample string 32",
  "maritalStatusId": "sample string 33",
  "mobilePhone": "sample string 34",
  "name": "sample string 35",
  "nameOfSpouse": "sample string 36",
  "nationalNumber": "sample string 37",
  "natureOfIncomeId": "sample string 38",
  "numberOfChildren": 39,
  "numberOfDependants": 40,
  "organizationId": 41,
  "paymentConditionId": "sample string 42",
  "person": "sample string 43",
  "profession": "sample string 44",
  "shortName": "sample string 45",
  "spouseIsDisabled": true,
  "state": "sample string 47",
  "street1": "sample string 48",
  "street2": "sample string 49",
  "supplierGroupId": 50,
  "supplierId": "sample string 51",
  "surchargePurchaseCostsPercentage": 52.0,
  "telephone": "sample string 53",
  "vatNumber": "sample string 54",
  "vatScenarioId": 1,
  "vatVerificationDate": "sample string 55",
  "zipCode": "sample string 56"
}

application/xml, text/xml

Sample:
<Supplier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <Addresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
  <BelgianDirectDebitAccount>sample string 1</BelgianDirectDebitAccount>
  <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>
  <CombineInvoicesForElectronicBanking>true</CombineInvoicesForElectronicBanking>
  <CountryId>sample string 10</CountryId>
  <CurrencyId>sample string 11</CurrencyId>
  <CustomerId>sample string 12</CustomerId>
  <CustomerIdSupplier>sample string 13</CustomerIdSupplier>
  <DateChanged>sample string 14</DateChanged>
  <DateCreated>sample string 15</DateCreated>
  <DateOfBirth>sample string 16</DateOfBirth>
  <DeliveryConditionId>sample string 17</DeliveryConditionId>
  <Email>sample string 18</Email>
  <ExpenseAccountId>sample string 19</ExpenseAccountId>
  <Fax>sample string 20</Fax>
  <FirstName>sample string 21</FirstName>
  <FullAddress>sample string 22</FullAddress>
  <FullDeliveryAddress>sample string 23</FullDeliveryAddress>
  <GoogleMapsDirectionsUrl>sample string 24</GoogleMapsDirectionsUrl>
  <GoogleMapsUrl>sample string 25</GoogleMapsUrl>
  <Homepage>sample string 26</Homepage>
  <IntrastatGoodsCodeId>1</IntrastatGoodsCodeId>
  <IntrastatGoodsDistributionId>1</IntrastatGoodsDistributionId>
  <IntrastatStatSystemId>1</IntrastatStatSystemId>
  <IntrastatTrafficRegionId>1</IntrastatTrafficRegionId>
  <IntrastatTransactionTypeId>sample string 27</IntrastatTransactionTypeId>
  <IntrastatTransportTypeId>1</IntrastatTransportTypeId>
  <IsPaymentRefRequired>true</IsPaymentRefRequired>
  <IsSubcontractor>true</IsSubcontractor>
  <LanguageId>sample string 30</LanguageId>
  <LastName>sample string 31</LastName>
  <LegalEntityTypeId>sample string 32</LegalEntityTypeId>
  <MaritalStatusId>sample string 33</MaritalStatusId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 34</MobilePhone>
  <Name>sample string 35</Name>
  <NameOfSpouse>sample string 36</NameOfSpouse>
  <NationalNumber>sample string 37</NationalNumber>
  <NatureOfIncomeId>sample string 38</NatureOfIncomeId>
  <NumberOfChildren>39</NumberOfChildren>
  <NumberOfDependants>40</NumberOfDependants>
  <OrganizationId>41</OrganizationId>
  <PaymentConditionId>sample string 42</PaymentConditionId>
  <Person>sample string 43</Person>
  <Profession>sample string 44</Profession>
  <ShortName>sample string 45</ShortName>
  <SpouseIsDisabled>true</SpouseIsDisabled>
  <State>sample string 47</State>
  <Street1>sample string 48</Street1>
  <Street2>sample string 49</Street2>
  <SupplierGroupId>50</SupplierGroupId>
  <SupplierId>sample string 51</SupplierId>
  <SurchargePurchaseCostsPercentage>52</SurchargePurchaseCostsPercentage>
  <Telephone>sample string 53</Telephone>
  <VatNumber>sample string 54</VatNumber>
  <VatScenarioId>1</VatScenarioId>
  <VatVerificationDate>sample string 55</VatVerificationDate>
  <ZipCode>sample string 56</ZipCode>
</Supplier>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "addresses": null,
  "messages": [],
  "belgianDirectDebitAccount": "sample string 1",
  "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",
  "combineInvoicesForElectronicBanking": true,
  "countryId": "sample string 10",
  "currencyId": "sample string 11",
  "customerId": "sample string 12",
  "customerIdSupplier": "sample string 13",
  "dateChanged": "sample string 14",
  "dateCreated": "sample string 15",
  "dateOfBirth": "sample string 16",
  "deliveryConditionId": "sample string 17",
  "email": "sample string 18",
  "expenseAccountId": "sample string 19",
  "fax": "sample string 20",
  "firstName": "sample string 21",
  "fullAddress": "sample string 22",
  "fullDeliveryAddress": "sample string 23",
  "googleMapsDirectionsUrl": "sample string 24",
  "googleMapsUrl": "sample string 25",
  "homepage": "sample string 26",
  "intrastatGoodsCodeId": 1,
  "intrastatGoodsDistributionId": 1,
  "intrastatStatSystemId": 1,
  "intrastatTrafficRegionId": 1,
  "intrastatTransactionTypeId": "sample string 27",
  "intrastatTransportTypeId": 1,
  "isPaymentRefRequired": true,
  "isSubcontractor": true,
  "languageId": "sample string 30",
  "lastName": "sample string 31",
  "legalEntityTypeId": "sample string 32",
  "maritalStatusId": "sample string 33",
  "mobilePhone": "sample string 34",
  "name": "sample string 35",
  "nameOfSpouse": "sample string 36",
  "nationalNumber": "sample string 37",
  "natureOfIncomeId": "sample string 38",
  "numberOfChildren": 39,
  "numberOfDependants": 40,
  "organizationId": 41,
  "paymentConditionId": "sample string 42",
  "person": "sample string 43",
  "profession": "sample string 44",
  "shortName": "sample string 45",
  "spouseIsDisabled": true,
  "state": "sample string 47",
  "street1": "sample string 48",
  "street2": "sample string 49",
  "supplierGroupId": 50,
  "supplierId": "sample string 51",
  "surchargePurchaseCostsPercentage": 52.0,
  "telephone": "sample string 53",
  "vatNumber": "sample string 54",
  "vatScenarioId": 1,
  "vatVerificationDate": "sample string 55",
  "zipCode": "sample string 56"
}

application/xml, text/xml

Sample:
<Supplier xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <Addresses xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Lists" i:nil="true" />
  <BelgianDirectDebitAccount>sample string 1</BelgianDirectDebitAccount>
  <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>
  <CombineInvoicesForElectronicBanking>true</CombineInvoicesForElectronicBanking>
  <CountryId>sample string 10</CountryId>
  <CurrencyId>sample string 11</CurrencyId>
  <CustomerId>sample string 12</CustomerId>
  <CustomerIdSupplier>sample string 13</CustomerIdSupplier>
  <DateChanged>sample string 14</DateChanged>
  <DateCreated>sample string 15</DateCreated>
  <DateOfBirth>sample string 16</DateOfBirth>
  <DeliveryConditionId>sample string 17</DeliveryConditionId>
  <Email>sample string 18</Email>
  <ExpenseAccountId>sample string 19</ExpenseAccountId>
  <Fax>sample string 20</Fax>
  <FirstName>sample string 21</FirstName>
  <FullAddress>sample string 22</FullAddress>
  <FullDeliveryAddress>sample string 23</FullDeliveryAddress>
  <GoogleMapsDirectionsUrl>sample string 24</GoogleMapsDirectionsUrl>
  <GoogleMapsUrl>sample string 25</GoogleMapsUrl>
  <Homepage>sample string 26</Homepage>
  <IntrastatGoodsCodeId>1</IntrastatGoodsCodeId>
  <IntrastatGoodsDistributionId>1</IntrastatGoodsDistributionId>
  <IntrastatStatSystemId>1</IntrastatStatSystemId>
  <IntrastatTrafficRegionId>1</IntrastatTrafficRegionId>
  <IntrastatTransactionTypeId>sample string 27</IntrastatTransactionTypeId>
  <IntrastatTransportTypeId>1</IntrastatTransportTypeId>
  <IsPaymentRefRequired>true</IsPaymentRefRequired>
  <IsSubcontractor>true</IsSubcontractor>
  <LanguageId>sample string 30</LanguageId>
  <LastName>sample string 31</LastName>
  <LegalEntityTypeId>sample string 32</LegalEntityTypeId>
  <MaritalStatusId>sample string 33</MaritalStatusId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 34</MobilePhone>
  <Name>sample string 35</Name>
  <NameOfSpouse>sample string 36</NameOfSpouse>
  <NationalNumber>sample string 37</NationalNumber>
  <NatureOfIncomeId>sample string 38</NatureOfIncomeId>
  <NumberOfChildren>39</NumberOfChildren>
  <NumberOfDependants>40</NumberOfDependants>
  <OrganizationId>41</OrganizationId>
  <PaymentConditionId>sample string 42</PaymentConditionId>
  <Person>sample string 43</Person>
  <Profession>sample string 44</Profession>
  <ShortName>sample string 45</ShortName>
  <SpouseIsDisabled>true</SpouseIsDisabled>
  <State>sample string 47</State>
  <Street1>sample string 48</Street1>
  <Street2>sample string 49</Street2>
  <SupplierGroupId>50</SupplierGroupId>
  <SupplierId>sample string 51</SupplierId>
  <SurchargePurchaseCostsPercentage>52</SurchargePurchaseCostsPercentage>
  <Telephone>sample string 53</Telephone>
  <VatNumber>sample string 54</VatNumber>
  <VatScenarioId>1</VatScenarioId>
  <VatVerificationDate>sample string 55</VatVerificationDate>
  <ZipCode>sample string 56</ZipCode>
</Supplier>