POST api/{database}/Supplier

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
value No Documentation Found.

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

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

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SupplierProxy'.

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

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