POST api/PurchaseOrder

Post list of Purchase Order's.

Request Information

URI Parameters

None.

Body Parameters

Collection of PurchaseOrderInput
NameDescriptionTypeAdditional information
id

integer

None.

outer_id

string

None.

id_orgboard_position

integer

None.

id_fp_expense

integer

None.

expense_name

You can use string to find expense by name

string

None.

id_fp_plan

integer

None.

date_of_fp_plan

You can use date of purchase order to find fp_plan by date

date

None.

name

string

None.

csw_data

string

None.

csw_situation

string

None.

csw_solution

string

None.

planned_value

decimal number

None.

id_fp_payment_type

integer

None.

id_fp_fund

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "outer_id": "sample string 2",
    "id_orgboard_position": 3,
    "id_fp_expense": 1,
    "expense_name": "sample string 4",
    "id_fp_plan": 1,
    "date_of_fp_plan": "2024-11-16T05:01:47.2955163+00:00",
    "name": "sample string 5",
    "csw_data": "sample string 6",
    "csw_situation": "sample string 7",
    "csw_solution": "sample string 8",
    "planned_value": 9.0,
    "id_fp_payment_type": 1,
    "id_fp_fund": 1
  },
  {
    "id": 1,
    "outer_id": "sample string 2",
    "id_orgboard_position": 3,
    "id_fp_expense": 1,
    "expense_name": "sample string 4",
    "id_fp_plan": 1,
    "date_of_fp_plan": "2024-11-16T05:01:47.2955163+00:00",
    "name": "sample string 5",
    "csw_data": "sample string 6",
    "csw_situation": "sample string 7",
    "csw_solution": "sample string 8",
    "planned_value": 9.0,
    "id_fp_payment_type": 1,
    "id_fp_fund": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfPurchaseOrderInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PurchaseOrderInput>
    <id>1</id>
    <outer_id>sample string 2</outer_id>
    <id_orgboard_position>3</id_orgboard_position>
    <id_fp_expense>1</id_fp_expense>
    <expense_name>sample string 4</expense_name>
    <id_fp_plan>1</id_fp_plan>
    <date_of_fp_plan>2024-11-16T05:01:47.2955163+00:00</date_of_fp_plan>
    <name>sample string 5</name>
    <csw_data>sample string 6</csw_data>
    <csw_situation>sample string 7</csw_situation>
    <csw_solution>sample string 8</csw_solution>
    <planned_value>9</planned_value>
    <id_fp_payment_type>1</id_fp_payment_type>
    <id_fp_fund>1</id_fp_fund>
  </PurchaseOrderInput>
  <PurchaseOrderInput>
    <id>1</id>
    <outer_id>sample string 2</outer_id>
    <id_orgboard_position>3</id_orgboard_position>
    <id_fp_expense>1</id_fp_expense>
    <expense_name>sample string 4</expense_name>
    <id_fp_plan>1</id_fp_plan>
    <date_of_fp_plan>2024-11-16T05:01:47.2955163+00:00</date_of_fp_plan>
    <name>sample string 5</name>
    <csw_data>sample string 6</csw_data>
    <csw_situation>sample string 7</csw_situation>
    <csw_solution>sample string 8</csw_solution>
    <planned_value>9</planned_value>
    <id_fp_payment_type>1</id_fp_payment_type>
    <id_fp_fund>1</id_fp_fund>
  </PurchaseOrderInput>
</ArrayOfPurchaseOrderInput>

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.