POST Api/PostCriarLinhaFaturaFornecedorPendente
Request Information
URI Parameters
None.
Body Parameters
FaturaFornecedorPendenteLinhaModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Company | string |
Required |
|
| ItemId | string |
Required |
|
| ReceiveNow | decimal number |
Required |
|
| PurchPrice | decimal number |
Required |
|
| CFOPId | string |
Required |
|
| TaxPurchItemGroup | string |
Required |
|
| TaxPurchGroup | string |
Required |
|
| TaxPurchWithholdGroup | string |
Required |
|
| TaxWithholdItemGroupId_TH | string |
Required |
|
| TaxServiceCodeId | string |
Required |
|
| InventSiteId | string |
Required |
|
| InventLocationId | string |
Required |
|
| Filial | string |
Required |
|
| UnidadeOrganizacional | string |
Required |
|
| CentroResponsabilidade | string |
Required |
|
| ContaOrcamentaria | string |
Required |
|
| MainAccountNum | string |
Required |
|
| VendInvoiceRefId | integer |
Required |
|
| PurchPurposeId | string |
Required |
|
| TaxCode | string |
Required |
|
| SourceBaseAmountCurRegulated | decimal number |
Required |
|
| SourceRegulateAmountCur | decimal number |
Required |
|
| TaxCode2 | string |
Required |
|
| SourceBaseAmountCurRegulated2 | decimal number |
Required |
|
| SourceRegulateAmountCur2 | decimal number |
Required |
|
| TaxCode3 | string |
Required |
|
| SourceBaseAmountCurRegulated3 | decimal number |
Required |
|
| SourceRegulateAmountCur3 | decimal number |
Required |
|
| TaxCode4 | string |
Required |
|
| SourceBaseAmountCurRegulated4 | decimal number |
Required |
|
| SourceRegulateAmountCur4 | decimal number |
Required |
|
| TaxCode5 | string |
Required |
|
| SourceBaseAmountCurRegulated5 | decimal number |
Required |
|
| SourceRegulateAmountCur5 | decimal number |
Required |
Request Formats
application/json, text/json
Sample:
{
"Company": "sample string 1",
"ItemId": "sample string 2",
"ReceiveNow": 1.0,
"PurchPrice": 1.0,
"CFOPId": "sample string 3",
"TaxPurchItemGroup": "sample string 4",
"TaxPurchGroup": "sample string 5",
"TaxPurchWithholdGroup": "sample string 6",
"TaxWithholdItemGroupId_TH": "sample string 7",
"TaxServiceCodeId": "sample string 8",
"InventSiteId": "sample string 9",
"InventLocationId": "sample string 10",
"Filial": "sample string 11",
"UnidadeOrganizacional": "sample string 12",
"CentroResponsabilidade": "sample string 13",
"ContaOrcamentaria": "sample string 14",
"MainAccountNum": "sample string 15",
"VendInvoiceRefId": 16,
"PurchPurposeId": "sample string 17",
"TaxCode": "sample string 18",
"SourceBaseAmountCurRegulated": 1.0,
"SourceRegulateAmountCur": 1.0,
"TaxCode2": "sample string 19",
"SourceBaseAmountCurRegulated2": 1.0,
"SourceRegulateAmountCur2": 1.0,
"TaxCode3": "sample string 20",
"SourceBaseAmountCurRegulated3": 1.0,
"SourceRegulateAmountCur3": 1.0,
"TaxCode4": "sample string 21",
"SourceBaseAmountCurRegulated4": 1.0,
"SourceRegulateAmountCur4": 1.0,
"TaxCode5": "sample string 22",
"SourceBaseAmountCurRegulated5": 1.0,
"SourceRegulateAmountCur5": 1.0
}
application/xml, text/xml
Sample:
<FaturaFornecedorPendenteLinhaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiDynamics.Models"> <CFOPId>sample string 3</CFOPId> <CentroResponsabilidade>sample string 13</CentroResponsabilidade> <Company>sample string 1</Company> <ContaOrcamentaria>sample string 14</ContaOrcamentaria> <Filial>sample string 11</Filial> <InventLocationId>sample string 10</InventLocationId> <InventSiteId>sample string 9</InventSiteId> <ItemId>sample string 2</ItemId> <MainAccountNum>sample string 15</MainAccountNum> <PurchPrice>1</PurchPrice> <PurchPurposeId>sample string 17</PurchPurposeId> <ReceiveNow>1</ReceiveNow> <SourceBaseAmountCurRegulated>1</SourceBaseAmountCurRegulated> <SourceBaseAmountCurRegulated2>1</SourceBaseAmountCurRegulated2> <SourceBaseAmountCurRegulated3>1</SourceBaseAmountCurRegulated3> <SourceBaseAmountCurRegulated4>1</SourceBaseAmountCurRegulated4> <SourceBaseAmountCurRegulated5>1</SourceBaseAmountCurRegulated5> <SourceRegulateAmountCur>1</SourceRegulateAmountCur> <SourceRegulateAmountCur2>1</SourceRegulateAmountCur2> <SourceRegulateAmountCur3>1</SourceRegulateAmountCur3> <SourceRegulateAmountCur4>1</SourceRegulateAmountCur4> <SourceRegulateAmountCur5>1</SourceRegulateAmountCur5> <TaxCode>sample string 18</TaxCode> <TaxCode2>sample string 19</TaxCode2> <TaxCode3>sample string 20</TaxCode3> <TaxCode4>sample string 21</TaxCode4> <TaxCode5>sample string 22</TaxCode5> <TaxPurchGroup>sample string 5</TaxPurchGroup> <TaxPurchItemGroup>sample string 4</TaxPurchItemGroup> <TaxPurchWithholdGroup>sample string 6</TaxPurchWithholdGroup> <TaxServiceCodeId>sample string 8</TaxServiceCodeId> <TaxWithholdItemGroupId_TH>sample string 7</TaxWithholdItemGroupId_TH> <UnidadeOrganizacional>sample string 12</UnidadeOrganizacional> <VendInvoiceRefId>16</VendInvoiceRefId> </FaturaFornecedorPendenteLinhaModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.