PUT api/TwreedSF

Request Information

URI Parameters

None.

Body Parameters

SuperTwreedSrfViewModel
NameDescriptionTypeAdditional information
twreed

Twreed_Srf

None.

_Data

Collection of Twreed_Srf_Sub

None.

Request Formats

application/json, text/json

Sample:
{
  "twreed": {
    "id": 1,
    "no": 1,
    "Type": 1,
    "date": "2025-11-09T14:06:46.5323188+03:00",
    "safe": 1,
    "refno": "sample string 2",
    "center": 1,
    "omla": 1,
    "acc": 1,
    "notes": "sample string 3",
    "res_id": 1,
    "is_deleted": true,
    "branch": 1,
    "Type_Cost": 1,
    "acc2": 1
  },
  "_Data": [
    {
      "proc_id": 1,
      "item": 1,
      "unit": 1,
      "quan": 1.1,
      "totquan": 1.1,
      "price": 1.1,
      "sum": 1.1,
      "sub_branch": 1,
      "sub_center": 1
    },
    {
      "proc_id": 1,
      "item": 1,
      "unit": 1,
      "quan": 1.1,
      "totquan": 1.1,
      "price": 1.1,
      "sum": 1.1,
      "sub_branch": 1,
      "sub_center": 1
    }
  ]
}

application/xml, text/xml

Sample:
<SuperTwreedSrfViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite._HServices">
  <_Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ApiLite.Models">
    <d2p1:Twreed_Srf_Sub>
      <d2p1:item>1</d2p1:item>
      <d2p1:price>1.1</d2p1:price>
      <d2p1:proc_id>1</d2p1:proc_id>
      <d2p1:quan>1.1</d2p1:quan>
      <d2p1:sub_branch>1</d2p1:sub_branch>
      <d2p1:sub_center>1</d2p1:sub_center>
      <d2p1:sum>1.1</d2p1:sum>
      <d2p1:totquan>1.1</d2p1:totquan>
      <d2p1:unit>1</d2p1:unit>
    </d2p1:Twreed_Srf_Sub>
    <d2p1:Twreed_Srf_Sub>
      <d2p1:item>1</d2p1:item>
      <d2p1:price>1.1</d2p1:price>
      <d2p1:proc_id>1</d2p1:proc_id>
      <d2p1:quan>1.1</d2p1:quan>
      <d2p1:sub_branch>1</d2p1:sub_branch>
      <d2p1:sub_center>1</d2p1:sub_center>
      <d2p1:sum>1.1</d2p1:sum>
      <d2p1:totquan>1.1</d2p1:totquan>
      <d2p1:unit>1</d2p1:unit>
    </d2p1:Twreed_Srf_Sub>
  </_Data>
  <twreed xmlns:d2p1="http://schemas.datacontract.org/2004/07/ApiLite.Models">
    <d2p1:Type>1</d2p1:Type>
    <d2p1:Type_Cost>1</d2p1:Type_Cost>
    <d2p1:acc>1</d2p1:acc>
    <d2p1:acc2>1</d2p1:acc2>
    <d2p1:branch>1</d2p1:branch>
    <d2p1:center>1</d2p1:center>
    <d2p1:date>2025-11-09T14:06:46.5323188+03:00</d2p1:date>
    <d2p1:id>1</d2p1:id>
    <d2p1:is_deleted>true</d2p1:is_deleted>
    <d2p1:no>1</d2p1:no>
    <d2p1:notes>sample string 3</d2p1:notes>
    <d2p1:omla>1</d2p1:omla>
    <d2p1:refno>sample string 2</d2p1:refno>
    <d2p1:res_id>1</d2p1:res_id>
    <d2p1:safe>1</d2p1:safe>
  </twreed>
</SuperTwreedSrfViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.