PUT api/PurchaseOrderReceipt

Create Purchase Order from Receipt.

Request Information

URI Parameters

None.

Body Parameters

Purchase Order Receipt.

PurchaseOrderReceipt
NameDescriptionTypeAdditional information
FileId

integer

None.

Title

string

None.

Filename

string

None.

OriginalFilename

string

None.

ObjectTypeId

integer

None.

FileUrl

string

None.

GlobalId

string

None.

ContentType

string

None.

FileType

string

None.

PurchaseOrderId

integer

None.

PurchaseOrderNumber

integer

None.

OrderNumber

string

None.

Description

string

None.

PurchaseOrderDate

date

None.

OrderTotal

decimal number

None.

PurchaseOrderGlobalId

string

None.

SupplierId

integer

None.

SupplierName

string

None.

SupplierGlobalId

string

None.

UpdatedDate

date

None.

UpdatedBy

string

None.

UpdatedByName

string

None.

PaymentFinancialAccountId

integer

None.

Note

string

None.

OrganizationId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FileId": 1,
  "Title": "sample string 2",
  "Filename": "sample string 3",
  "OriginalFilename": "sample string 4",
  "ObjectTypeId": 1,
  "FileUrl": "sample string 5",
  "GlobalId": "sample string 6",
  "ContentType": "sample string 7",
  "FileType": "sample string 8",
  "PurchaseOrderId": 1,
  "PurchaseOrderNumber": 1,
  "OrderNumber": "sample string 9",
  "Description": "sample string 10",
  "PurchaseOrderDate": "2025-01-16T04:01:57.9489895+00:00",
  "OrderTotal": 1.0,
  "PurchaseOrderGlobalId": "sample string 11",
  "SupplierId": 1,
  "SupplierName": "sample string 12",
  "SupplierGlobalId": "sample string 13",
  "UpdatedDate": "2025-01-16T04:01:57.9489895+00:00",
  "UpdatedBy": "sample string 14",
  "UpdatedByName": "sample string 15",
  "PaymentFinancialAccountId": 1,
  "Note": "sample string 16",
  "OrganizationId": 1
}

application/xml, text/xml

Sample:
<PurchaseOrderReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <ContentType>sample string 7</ContentType>
  <Description>sample string 10</Description>
  <FileId>1</FileId>
  <FileType>sample string 8</FileType>
  <FileUrl>sample string 5</FileUrl>
  <Filename>sample string 3</Filename>
  <GlobalId>sample string 6</GlobalId>
  <Note>sample string 16</Note>
  <ObjectTypeId>1</ObjectTypeId>
  <OrderNumber>sample string 9</OrderNumber>
  <OrderTotal>1</OrderTotal>
  <OrganizationId>1</OrganizationId>
  <OriginalFilename>sample string 4</OriginalFilename>
  <PaymentFinancialAccountId>1</PaymentFinancialAccountId>
  <PurchaseOrderDate>2025-01-16T04:01:57.9489895+00:00</PurchaseOrderDate>
  <PurchaseOrderGlobalId>sample string 11</PurchaseOrderGlobalId>
  <PurchaseOrderId>1</PurchaseOrderId>
  <PurchaseOrderNumber>1</PurchaseOrderNumber>
  <SupplierGlobalId>sample string 13</SupplierGlobalId>
  <SupplierId>1</SupplierId>
  <SupplierName>sample string 12</SupplierName>
  <Title>sample string 2</Title>
  <UpdatedBy>sample string 14</UpdatedBy>
  <UpdatedByName>sample string 15</UpdatedByName>
  <UpdatedDate>2025-01-16T04:01:57.9489895+00:00</UpdatedDate>
</PurchaseOrderReceipt>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PurchaseOrderReceipt
NameDescriptionTypeAdditional information
FileId

integer

None.

Title

string

None.

Filename

string

None.

OriginalFilename

string

None.

ObjectTypeId

integer

None.

FileUrl

string

None.

GlobalId

string

None.

ContentType

string

None.

FileType

string

None.

PurchaseOrderId

integer

None.

PurchaseOrderNumber

integer

None.

OrderNumber

string

None.

Description

string

None.

PurchaseOrderDate

date

None.

OrderTotal

decimal number

None.

PurchaseOrderGlobalId

string

None.

SupplierId

integer

None.

SupplierName

string

None.

SupplierGlobalId

string

None.

UpdatedDate

date

None.

UpdatedBy

string

None.

UpdatedByName

string

None.

PaymentFinancialAccountId

integer

None.

Note

string

None.

OrganizationId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "FileId": 1,
  "Title": "sample string 2",
  "Filename": "sample string 3",
  "OriginalFilename": "sample string 4",
  "ObjectTypeId": 1,
  "FileUrl": "sample string 5",
  "GlobalId": "sample string 6",
  "ContentType": "sample string 7",
  "FileType": "sample string 8",
  "PurchaseOrderId": 1,
  "PurchaseOrderNumber": 1,
  "OrderNumber": "sample string 9",
  "Description": "sample string 10",
  "PurchaseOrderDate": "2025-01-16T04:01:57.9646143+00:00",
  "OrderTotal": 1.0,
  "PurchaseOrderGlobalId": "sample string 11",
  "SupplierId": 1,
  "SupplierName": "sample string 12",
  "SupplierGlobalId": "sample string 13",
  "UpdatedDate": "2025-01-16T04:01:57.9646143+00:00",
  "UpdatedBy": "sample string 14",
  "UpdatedByName": "sample string 15",
  "PaymentFinancialAccountId": 1,
  "Note": "sample string 16",
  "OrganizationId": 1
}

application/xml, text/xml

Sample:
<PurchaseOrderReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <ContentType>sample string 7</ContentType>
  <Description>sample string 10</Description>
  <FileId>1</FileId>
  <FileType>sample string 8</FileType>
  <FileUrl>sample string 5</FileUrl>
  <Filename>sample string 3</Filename>
  <GlobalId>sample string 6</GlobalId>
  <Note>sample string 16</Note>
  <ObjectTypeId>1</ObjectTypeId>
  <OrderNumber>sample string 9</OrderNumber>
  <OrderTotal>1</OrderTotal>
  <OrganizationId>1</OrganizationId>
  <OriginalFilename>sample string 4</OriginalFilename>
  <PaymentFinancialAccountId>1</PaymentFinancialAccountId>
  <PurchaseOrderDate>2025-01-16T04:01:57.9646143+00:00</PurchaseOrderDate>
  <PurchaseOrderGlobalId>sample string 11</PurchaseOrderGlobalId>
  <PurchaseOrderId>1</PurchaseOrderId>
  <PurchaseOrderNumber>1</PurchaseOrderNumber>
  <SupplierGlobalId>sample string 13</SupplierGlobalId>
  <SupplierId>1</SupplierId>
  <SupplierName>sample string 12</SupplierName>
  <Title>sample string 2</Title>
  <UpdatedBy>sample string 14</UpdatedBy>
  <UpdatedByName>sample string 15</UpdatedByName>
  <UpdatedDate>2025-01-16T04:01:57.9646143+00:00</UpdatedDate>
</PurchaseOrderReceipt>