PUT api/{database}/TimeMaterialProject/{projectId}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
projectId No Documentation Found.

Define this parameter in the request URI.

value No Documentation Found.

Define this parameter in the request body.

$expand Subprojects

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "accountingOption": 0,
  "messages": [],
  "blockedAccountPerc": 1.0,
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "chargeVatType": 0,
  "closedDate": "2024-12-04T20:08:19.67169",
  "compressionOption": 0,
  "contactPersonId": "sample string 4",
  "contactPersonName": "sample string 5",
  "costUnitDecription": "sample string 6",
  "costUnitId": "sample string 7",
  "currencyDescription": "sample string 8",
  "currencyId": "sample string 9",
  "customerId": "sample string 10",
  "customerName": "sample string 11",
  "description": "sample string 12",
  "endDate": "2024-12-04T20:08:19.67169",
  "exchangeRate": 13.0,
  "fax": "sample string 14",
  "intrastatGoodsDescription": "sample string 15",
  "intrastatGoodsId": 1,
  "invoiceText": "sample string 16",
  "mainProjectDescription": "sample string 17",
  "mainProjectId": "sample string 18",
  "mobilePhone": "sample string 19",
  "paymentConditionDescription": "sample string 20",
  "paymentConditionId": "sample string 21",
  "priceFixingType": 0,
  "priceListDescription": "sample string 22",
  "pricelistId": "sample string 23",
  "projectAddress": "sample string 24",
  "projectGroupDescription": "sample string 25",
  "projectGroupId": "sample string 26",
  "projectId": "sample string 27",
  "projectManagerId": "sample string 28",
  "projectManagerName": "sample string 29",
  "projectType": 0,
  "reference": "sample string 30",
  "reopenedDate": "2024-12-04T20:08:19.67169",
  "servicePerc": 31.0,
  "shortName": "sample string 32",
  "startDate": "2024-12-04T20:08:19.67169",
  "status": 0,
  "subprojects": null,
  "surchargeHours": 33.0,
  "surchargeMaterials": 34.0,
  "surchargeSubcontractor": 35.0,
  "surchargeVarious": 36.0,
  "telephone": "sample string 37",
  "vatCodeId": 38
}

application/xml, text/xml

Sample:
<TimeMaterialProject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Project.Edit">
  <AccountingOption>OnGoing</AccountingOption>
  <BlockedAccountPerc>1</BlockedAccountPerc>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <ChargeVatType>No</ChargeVatType>
  <ClosedDate>2024-12-04T20:08:19.67169+01:00</ClosedDate>
  <CompressionOption>NotApplicable</CompressionOption>
  <ContactPersonId>sample string 4</ContactPersonId>
  <ContactPersonName>sample string 5</ContactPersonName>
  <CostUnitDecription>sample string 6</CostUnitDecription>
  <CostUnitId>sample string 7</CostUnitId>
  <CurrencyDescription>sample string 8</CurrencyDescription>
  <CurrencyId>sample string 9</CurrencyId>
  <CustomerId>sample string 10</CustomerId>
  <CustomerName>sample string 11</CustomerName>
  <Description>sample string 12</Description>
  <EndDate>2024-12-04T20:08:19.67169+01:00</EndDate>
  <ExchangeRate>13</ExchangeRate>
  <Fax>sample string 14</Fax>
  <IntrastatGoodsDescription>sample string 15</IntrastatGoodsDescription>
  <IntrastatGoodsId>1</IntrastatGoodsId>
  <InvoiceText>sample string 16</InvoiceText>
  <MainProjectDescription>sample string 17</MainProjectDescription>
  <MainProjectId>sample string 18</MainProjectId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 19</MobilePhone>
  <PaymentConditionDescription>sample string 20</PaymentConditionDescription>
  <PaymentConditionId>sample string 21</PaymentConditionId>
  <PriceFixingType>None</PriceFixingType>
  <PriceListDescription>sample string 22</PriceListDescription>
  <PricelistId>sample string 23</PricelistId>
  <ProjectAddress>sample string 24</ProjectAddress>
  <ProjectGroupDescription>sample string 25</ProjectGroupDescription>
  <ProjectGroupId>sample string 26</ProjectGroupId>
  <ProjectId>sample string 27</ProjectId>
  <ProjectManagerId>sample string 28</ProjectManagerId>
  <ProjectManagerName>sample string 29</ProjectManagerName>
  <ProjectType>Unknown</ProjectType>
  <Reference>sample string 30</Reference>
  <ReopenedDate>2024-12-04T20:08:19.67169+01:00</ReopenedDate>
  <ServicePerc>31</ServicePerc>
  <ShortName>sample string 32</ShortName>
  <StartDate>2024-12-04T20:08:19.67169+01:00</StartDate>
  <Status>Open</Status>
  <Subprojects xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Project.Lists" i:nil="true" />
  <SurchargeHours>33</SurchargeHours>
  <SurchargeMaterials>34</SurchargeMaterials>
  <SurchargeSubcontractor>35</SurchargeSubcontractor>
  <SurchargeVarious>36</SurchargeVarious>
  <Telephone>sample string 37</Telephone>
  <VatCodeId>38</VatCodeId>
</TimeMaterialProject>

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 'TimeMaterialProjectProxy'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "accountingOption": 0,
  "messages": [],
  "blockedAccountPerc": 1.0,
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "chargeVatType": 0,
  "closedDate": "2024-12-04T20:08:19.67169",
  "compressionOption": 0,
  "contactPersonId": "sample string 4",
  "contactPersonName": "sample string 5",
  "costUnitDecription": "sample string 6",
  "costUnitId": "sample string 7",
  "currencyDescription": "sample string 8",
  "currencyId": "sample string 9",
  "customerId": "sample string 10",
  "customerName": "sample string 11",
  "description": "sample string 12",
  "endDate": "2024-12-04T20:08:19.67169",
  "exchangeRate": 13.0,
  "fax": "sample string 14",
  "intrastatGoodsDescription": "sample string 15",
  "intrastatGoodsId": 1,
  "invoiceText": "sample string 16",
  "mainProjectDescription": "sample string 17",
  "mainProjectId": "sample string 18",
  "mobilePhone": "sample string 19",
  "paymentConditionDescription": "sample string 20",
  "paymentConditionId": "sample string 21",
  "priceFixingType": 0,
  "priceListDescription": "sample string 22",
  "pricelistId": "sample string 23",
  "projectAddress": "sample string 24",
  "projectGroupDescription": "sample string 25",
  "projectGroupId": "sample string 26",
  "projectId": "sample string 27",
  "projectManagerId": "sample string 28",
  "projectManagerName": "sample string 29",
  "projectType": 0,
  "reference": "sample string 30",
  "reopenedDate": "2024-12-04T20:08:19.67169",
  "servicePerc": 31.0,
  "shortName": "sample string 32",
  "startDate": "2024-12-04T20:08:19.67169",
  "status": 0,
  "subprojects": null,
  "surchargeHours": 33.0,
  "surchargeMaterials": 34.0,
  "surchargeSubcontractor": 35.0,
  "surchargeVarious": 36.0,
  "telephone": "sample string 37",
  "vatCodeId": 38
}

application/xml, text/xml

Sample:
<TimeMaterialProject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Project.Edit">
  <AccountingOption>OnGoing</AccountingOption>
  <BlockedAccountPerc>1</BlockedAccountPerc>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <ChargeVatType>No</ChargeVatType>
  <ClosedDate>2024-12-04T20:08:19.67169+01:00</ClosedDate>
  <CompressionOption>NotApplicable</CompressionOption>
  <ContactPersonId>sample string 4</ContactPersonId>
  <ContactPersonName>sample string 5</ContactPersonName>
  <CostUnitDecription>sample string 6</CostUnitDecription>
  <CostUnitId>sample string 7</CostUnitId>
  <CurrencyDescription>sample string 8</CurrencyDescription>
  <CurrencyId>sample string 9</CurrencyId>
  <CustomerId>sample string 10</CustomerId>
  <CustomerName>sample string 11</CustomerName>
  <Description>sample string 12</Description>
  <EndDate>2024-12-04T20:08:19.67169+01:00</EndDate>
  <ExchangeRate>13</ExchangeRate>
  <Fax>sample string 14</Fax>
  <IntrastatGoodsDescription>sample string 15</IntrastatGoodsDescription>
  <IntrastatGoodsId>1</IntrastatGoodsId>
  <InvoiceText>sample string 16</InvoiceText>
  <MainProjectDescription>sample string 17</MainProjectDescription>
  <MainProjectId>sample string 18</MainProjectId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 19</MobilePhone>
  <PaymentConditionDescription>sample string 20</PaymentConditionDescription>
  <PaymentConditionId>sample string 21</PaymentConditionId>
  <PriceFixingType>None</PriceFixingType>
  <PriceListDescription>sample string 22</PriceListDescription>
  <PricelistId>sample string 23</PricelistId>
  <ProjectAddress>sample string 24</ProjectAddress>
  <ProjectGroupDescription>sample string 25</ProjectGroupDescription>
  <ProjectGroupId>sample string 26</ProjectGroupId>
  <ProjectId>sample string 27</ProjectId>
  <ProjectManagerId>sample string 28</ProjectManagerId>
  <ProjectManagerName>sample string 29</ProjectManagerName>
  <ProjectType>Unknown</ProjectType>
  <Reference>sample string 30</Reference>
  <ReopenedDate>2024-12-04T20:08:19.67169+01:00</ReopenedDate>
  <ServicePerc>31</ServicePerc>
  <ShortName>sample string 32</ShortName>
  <StartDate>2024-12-04T20:08:19.67169+01:00</StartDate>
  <Status>Open</Status>
  <Subprojects xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Project.Lists" i:nil="true" />
  <SurchargeHours>33</SurchargeHours>
  <SurchargeMaterials>34</SurchargeMaterials>
  <SurchargeSubcontractor>35</SurchargeSubcontractor>
  <SurchargeVarious>36</SurchargeVarious>
  <Telephone>sample string 37</Telephone>
  <VatCodeId>38</VatCodeId>
</TimeMaterialProject>