PATCH api/Documents/UpdateQuotations
Request Information
URI Parameters
None.
Body Parameters
SalesOfferPatch| Name | Description | Type | Additional information |
|---|---|---|---|
| DocEntry | integer |
None. |
|
| DocNum | integer |
None. |
|
| CardCode | string |
None. |
|
| CardName | string |
None. |
|
| PaymentGroupCode | integer |
None. |
|
| NumAtCard | string |
None. |
|
| ContactPersonCode | integer |
None. |
|
| DocCurrency | string |
None. |
|
| Comments | string |
None. |
|
| SalesPersonCode | integer |
None. |
|
| DocumentsOwner | integer |
None. |
|
| Udfs | Collection of Udf |
None. |
|
| DocumentLines | Collection of DocumentoLineaPost |
None. |
Request Formats
application/json, text/json
Sample:
{
"DocEntry": 1,
"DocNum": 2,
"CardCode": "sample string 3",
"CardName": "sample string 4",
"PaymentGroupCode": 5,
"NumAtCard": "sample string 6",
"ContactPersonCode": 7,
"DocCurrency": "sample string 8",
"Comments": "sample string 9",
"SalesPersonCode": 10,
"DocumentsOwner": 11,
"Udfs": [
{
"Name": "sample string 1",
"FieldType": "sample string 2",
"Value": "sample string 3"
},
{
"Name": "sample string 1",
"FieldType": "sample string 2",
"Value": "sample string 3"
}
],
"DocumentLines": [
{
"Udfs": [
{
"Name": "sample string 1",
"FieldType": "sample string 2",
"Value": "sample string 3"
},
{
"Name": "sample string 1",
"FieldType": "sample string 2",
"Value": "sample string 3"
}
],
"ItemCode": "sample string 1",
"ItemDescription": "sample string 2",
"Quantity": 3.1,
"DiscountPercent": 1.1,
"TaxCode": "sample string 4",
"UomCode": "sample string 5",
"ShippingMethod": 6,
"ParentLineNum": 7,
"AgreementNo": 1,
"UnitPrice": 8.1,
"WarehouseCode": "sample string 9",
"CostingCode": "sample string 10",
"ProjectCode": "sample string 11",
"Currency": "sample string 12",
"COGSCostingCode": "sample string 13"
},
{
"Udfs": [
{
"Name": "sample string 1",
"FieldType": "sample string 2",
"Value": "sample string 3"
},
{
"Name": "sample string 1",
"FieldType": "sample string 2",
"Value": "sample string 3"
}
],
"ItemCode": "sample string 1",
"ItemDescription": "sample string 2",
"Quantity": 3.1,
"DiscountPercent": 1.1,
"TaxCode": "sample string 4",
"UomCode": "sample string 5",
"ShippingMethod": 6,
"ParentLineNum": 7,
"AgreementNo": 1,
"UnitPrice": 8.1,
"WarehouseCode": "sample string 9",
"CostingCode": "sample string 10",
"ProjectCode": "sample string 11",
"Currency": "sample string 12",
"COGSCostingCode": "sample string 13"
}
]
}
application/xml, text/xml
Sample:
<SalesOfferPatch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CL_TD_TD_SRV_API.MODELS.SAP">
<CardCode>sample string 3</CardCode>
<CardName>sample string 4</CardName>
<Comments>sample string 9</Comments>
<ContactPersonCode>7</ContactPersonCode>
<DocCurrency>sample string 8</DocCurrency>
<DocNum>2</DocNum>
<DocumentLines>
<DocumentoLineaPost>
<AgreementNo>1</AgreementNo>
<COGSCostingCode>sample string 13</COGSCostingCode>
<CostingCode>sample string 10</CostingCode>
<Currency>sample string 12</Currency>
<DiscountPercent>1.1</DiscountPercent>
<ItemCode>sample string 1</ItemCode>
<ItemDescription>sample string 2</ItemDescription>
<ParentLineNum>7</ParentLineNum>
<ProjectCode>sample string 11</ProjectCode>
<Quantity>3.1</Quantity>
<ShippingMethod>6</ShippingMethod>
<TaxCode>sample string 4</TaxCode>
<UnitPrice>8.1</UnitPrice>
<UomCode>sample string 5</UomCode>
<WarehouseCode>sample string 9</WarehouseCode>
<Udfs xmlns:d4p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf">
<d4p1:Udf>
<d4p1:FieldType>sample string 2</d4p1:FieldType>
<d4p1:Name>sample string 1</d4p1:Name>
<d4p1:Value>sample string 3</d4p1:Value>
</d4p1:Udf>
<d4p1:Udf>
<d4p1:FieldType>sample string 2</d4p1:FieldType>
<d4p1:Name>sample string 1</d4p1:Name>
<d4p1:Value>sample string 3</d4p1:Value>
</d4p1:Udf>
</Udfs>
</DocumentoLineaPost>
<DocumentoLineaPost>
<AgreementNo>1</AgreementNo>
<COGSCostingCode>sample string 13</COGSCostingCode>
<CostingCode>sample string 10</CostingCode>
<Currency>sample string 12</Currency>
<DiscountPercent>1.1</DiscountPercent>
<ItemCode>sample string 1</ItemCode>
<ItemDescription>sample string 2</ItemDescription>
<ParentLineNum>7</ParentLineNum>
<ProjectCode>sample string 11</ProjectCode>
<Quantity>3.1</Quantity>
<ShippingMethod>6</ShippingMethod>
<TaxCode>sample string 4</TaxCode>
<UnitPrice>8.1</UnitPrice>
<UomCode>sample string 5</UomCode>
<WarehouseCode>sample string 9</WarehouseCode>
<Udfs xmlns:d4p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf">
<d4p1:Udf>
<d4p1:FieldType>sample string 2</d4p1:FieldType>
<d4p1:Name>sample string 1</d4p1:Name>
<d4p1:Value>sample string 3</d4p1:Value>
</d4p1:Udf>
<d4p1:Udf>
<d4p1:FieldType>sample string 2</d4p1:FieldType>
<d4p1:Name>sample string 1</d4p1:Name>
<d4p1:Value>sample string 3</d4p1:Value>
</d4p1:Udf>
</Udfs>
</DocumentoLineaPost>
</DocumentLines>
<DocumentsOwner>11</DocumentsOwner>
<NumAtCard>sample string 6</NumAtCard>
<PaymentGroupCode>5</PaymentGroupCode>
<SalesPersonCode>10</SalesPersonCode>
<Udfs xmlns:d2p1="http://schemas.datacontract.org/2004/07/CL.STRUCTURES.CLASSES.Udf">
<d2p1:Udf>
<d2p1:FieldType>sample string 2</d2p1:FieldType>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:Udf>
<d2p1:Udf>
<d2p1:FieldType>sample string 2</d2p1:FieldType>
<d2p1:Name>sample string 1</d2p1:Name>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:Udf>
</Udfs>
<DocEntry>1</DocEntry>
</SalesOfferPatch>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |