POST api/Cooperation/AddProductionCooperationReceipt

Request Information

URI Parameters

None.

Body Parameters

ProductionCooperationReceipt
NameDescriptionTypeAdditional information
ReceiptYear

integer

None.

ReceiptNumber

integer

None.

ReceiptStatus

string

None.

WMSDate

date

None.

InCommissionWMS

boolean

None.

WMSLocked

date

None.

CooperationCustomerID

string

None.

ContactTypeID

string

None.

ContactInTypeID

integer

None.

ReceiptDate

date

None.

ClerkID

string

None.

CostCenterID

string

None.

CostUnitID

string

None.

ReceiptValue

decimal number

None.

Notes

string

None.

InsUpdDate

date

None.

ProductionCooperationReceiptLines

ProductionCooperationReceiptLines

None.

Request Formats

application/xml, text/xml

Sample:
<ProductionCooperationReceipt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ReceiptYear>1</ReceiptYear>
  <ReceiptNumber>2</ReceiptNumber>
  <ReceiptStatus>sample string 3</ReceiptStatus>
  <WMSDate>2024-11-21T15:00:15.1395595+01:00</WMSDate>
  <InCommissionWMS>true</InCommissionWMS>
  <WMSLocked>2024-11-21T15:00:15.1395595+01:00</WMSLocked>
  <CooperationCustomerID>sample string 5</CooperationCustomerID>
  <ContactTypeID>sample string 6</ContactTypeID>
  <ContactInTypeID>1</ContactInTypeID>
  <ReceiptDate>2024-11-21T15:00:15.1405569+01:00</ReceiptDate>
  <ClerkID>sample string 7</ClerkID>
  <CostCenterID>sample string 8</CostCenterID>
  <CostUnitID>sample string 9</CostUnitID>
  <ReceiptValue>1</ReceiptValue>
  <Notes>sample string 10</Notes>
  <InsUpdDate>2024-11-21T15:00:15.1405569+01:00</InsUpdDate>
  <ProductionCooperationReceiptLines>
    <ProductionCooperationReceiptLine>
      <ReceiptLineNo>1</ReceiptLineNo>
      <IssueYear>2</IssueYear>
      <IssueNo>3</IssueNo>
      <IssueLineNo>4</IssueLineNo>
      <WorkOrder>sample string 5</WorkOrder>
      <WorkOrderOperationLNr>6</WorkOrderOperationLNr>
      <WorkOrderOperationID>7</WorkOrderOperationID>
      <ProductID>sample string 8</ProductID>
      <ProductWorkOrderQty>1</ProductWorkOrderQty>
      <ProductUM>sample string 9</ProductUM>
      <OperationQtyOnProductUM>1</OperationQtyOnProductUM>
      <OperationUM>sample string 10</OperationUM>
      <IssuedOperationQty>1</IssuedOperationQty>
      <ReceivedOperationQty>1</ReceivedOperationQty>
      <ReceivedProductQty>1</ReceivedProductQty>
      <OperationPrice>1</OperationPrice>
      <OperationValue>1</OperationValue>
      <ClosedLine>true</ClosedLine>
      <Note>sample string 11</Note>
      <InsUpdDate>2024-11-21T15:00:15.1405569+01:00</InsUpdDate>
    </ProductionCooperationReceiptLine>
    <ProductionCooperationReceiptLine>
      <ReceiptLineNo>1</ReceiptLineNo>
      <IssueYear>2</IssueYear>
      <IssueNo>3</IssueNo>
      <IssueLineNo>4</IssueLineNo>
      <WorkOrder>sample string 5</WorkOrder>
      <WorkOrderOperationLNr>6</WorkOrderOperationLNr>
      <WorkOrderOperationID>7</WorkOrderOperationID>
      <ProductID>sample string 8</ProductID>
      <ProductWorkOrderQty>1</ProductWorkOrderQty>
      <ProductUM>sample string 9</ProductUM>
      <OperationQtyOnProductUM>1</OperationQtyOnProductUM>
      <OperationUM>sample string 10</OperationUM>
      <IssuedOperationQty>1</IssuedOperationQty>
      <ReceivedOperationQty>1</ReceivedOperationQty>
      <ReceivedProductQty>1</ReceivedProductQty>
      <OperationPrice>1</OperationPrice>
      <OperationValue>1</OperationValue>
      <ClosedLine>true</ClosedLine>
      <Note>sample string 11</Note>
      <InsUpdDate>2024-11-21T15:00:15.1405569+01:00</InsUpdDate>
    </ProductionCooperationReceiptLine>
  </ProductionCooperationReceiptLines>
</ProductionCooperationReceipt>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Keys>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
  </Keys>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</CreateResult>