POST api/PurchaseTransaction/PostPurchaseIWorkflowMail

Request Information

URI Parameters

None.

Body Parameters

WorkflowMails
NameDescriptionTypeAdditional information
BranchId

integer

None.

UserId

integer

None.

UserName

string

None.

PInwardNo

integer

None.

InwardDate

date

None.

AssetCode

string

None.

CategoryName

string

None.

SubCategoryName

string

None.

DeliveryTakenBy

string

None.

IsInwarded

boolean

None.

Location

string

None.

Category

string

None.

SubCategory

string

None.

Status

string

None.

StateId

integer

None.

Mailid

integer

None.

FromUser

integer

None.

ToUser

integer

None.

Comments

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchId": 1,
  "UserId": 1,
  "UserName": "sample string 1",
  "PInwardNo": 2,
  "InwardDate": "2026-07-31T15:19:01.3540425-07:00",
  "AssetCode": "sample string 3",
  "CategoryName": "sample string 4",
  "SubCategoryName": "sample string 5",
  "DeliveryTakenBy": "sample string 6",
  "IsInwarded": true,
  "Location": "sample string 7",
  "Category": "sample string 8",
  "SubCategory": "sample string 9",
  "Status": "sample string 10",
  "StateId": 11,
  "Mailid": 12,
  "FromUser": 13,
  "ToUser": 14,
  "Comments": "sample string 15"
}

application/xml, text/xml

Sample:
<WorkflowMails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BILLING.BAL.WorkflowViewModel">
  <AssetCode>sample string 3</AssetCode>
  <BranchId>1</BranchId>
  <Category>sample string 8</Category>
  <CategoryName>sample string 4</CategoryName>
  <Comments>sample string 15</Comments>
  <DeliveryTakenBy>sample string 6</DeliveryTakenBy>
  <FromUser>13</FromUser>
  <InwardDate>2026-07-31T15:19:01.3540425-07:00</InwardDate>
  <IsInwarded>true</IsInwarded>
  <Location>sample string 7</Location>
  <Mailid>12</Mailid>
  <PInwardNo>2</PInwardNo>
  <StateId>11</StateId>
  <Status>sample string 10</Status>
  <SubCategory>sample string 9</SubCategory>
  <SubCategoryName>sample string 5</SubCategoryName>
  <ToUser>14</ToUser>
  <UserId>1</UserId>
  <UserName>sample string 1</UserName>
</WorkflowMails>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WorkflowMails'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.