POST delivery/updateDeliveryPayments

Request Information

URI Parameters

None.

Body Parameters

UpdateDeliveryPaymentModel
NameDescriptionTypeAdditional information
DeliveryId

integer

None.

Payments

Collection of DeliveryPaymentModel

None.

Request Formats

application/json, text/json

Sample:
{
  "deliveryId": 1,
  "payments": [
    {
      "deliveryId": 1,
      "id": 1,
      "summ": 1.0,
      "dateCreated": "sample string 2",
      "createdBy": 3,
      "comment": "sample string 4",
      "fullName": "sample string 5",
      "isNewRecord": true
    },
    {
      "deliveryId": 1,
      "id": 1,
      "summ": 1.0,
      "dateCreated": "sample string 2",
      "createdBy": 3,
      "comment": "sample string 4",
      "fullName": "sample string 5",
      "isNewRecord": true
    }
  ]
}

application/xml, text/xml

Sample:
<UpdateDeliveryPaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Clickoapp2.Shared.ViewModels">
  <DeliveryId>1</DeliveryId>
  <Payments>
    <DeliveryPaymentModel>
      <Comment>sample string 4</Comment>
      <CreatedBy>3</CreatedBy>
      <DateCreated>sample string 2</DateCreated>
      <DeliveryId>1</DeliveryId>
      <FullName>sample string 5</FullName>
      <Id>1</Id>
      <IsNewRecord>true</IsNewRecord>
      <Summ>1</Summ>
    </DeliveryPaymentModel>
    <DeliveryPaymentModel>
      <Comment>sample string 4</Comment>
      <CreatedBy>3</CreatedBy>
      <DateCreated>sample string 2</DateCreated>
      <DeliveryId>1</DeliveryId>
      <FullName>sample string 5</FullName>
      <Id>1</Id>
      <IsNewRecord>true</IsNewRecord>
      <Summ>1</Summ>
    </DeliveryPaymentModel>
  </Payments>
</UpdateDeliveryPaymentModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>