POST api/services/import/v1/dataupdate/updatecustomer
Request Information
URI Parameters
None.
Body Parameters
CustomerName | Description | Type | Additional information |
---|---|---|---|
CrmId | string |
None. |
|
AsapNumber | string |
None. |
|
Name | string |
None. |
|
Region | string |
None. |
|
Postalcode | string |
None. |
|
Country | string |
None. |
|
City | string |
None. |
|
AddressLine3 | string |
None. |
|
AddressLine2 | string |
None. |
|
AddressLine1 | string |
None. |
|
CtlDescription | string |
None. |
|
CtlAsapCode | string |
None. |
|
LastChange | string |
None. |
|
CustomerGroup | CustomerGroup |
None. |
|
MillAreaList | Collection of MillArea |
None. |
|
AndritzResponsibleList | Collection of AndritzResponsible |
None. |
Request Formats
application/json, text/json
Sample:
{ "CrmId": "sample string 1", "AsapNumber": "sample string 2", "Name": "sample string 3", "Region": "sample string 4", "Postalcode": "sample string 5", "Country": "sample string 6", "City": "sample string 7", "AddressLine3": "sample string 8", "AddressLine2": "sample string 9", "AddressLine1": "sample string 10", "CtlDescription": "sample string 11", "CtlAsapCode": "sample string 12", "LastChange": "sample string 13", "CustomerGroup": { "AsapNumber": "sample string 1", "Name": "sample string 2" }, "MillAreaList": [ { "MillAreaName": "sample string 1", "ServiceClass": "sample string 2", "CapitalClass": "sample string 3" }, { "MillAreaName": "sample string 1", "ServiceClass": "sample string 2", "CapitalClass": "sample string 3" } ], "AndritzResponsibleList": [ { "AdAlias": "sample string 1", "EmployeeId": "sample string 2", "HrisId": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Email": "sample string 6", "Phone": "sample string 7", "CompanyName": "sample string 8", "Country": "sample string 9", "Region": "sample string 10", "City": "sample string 11", "PostalCode": "sample string 12", "AddressLine1": "sample string 13", "AddressLine2": "sample string 14", "AddressLine3": "sample string 15", "Role": "sample string 16", "CompanyId": "sample string 17", "Department": "sample string 18", "IsService": "sample string 19" }, { "AdAlias": "sample string 1", "EmployeeId": "sample string 2", "HrisId": "sample string 3", "FirstName": "sample string 4", "LastName": "sample string 5", "Email": "sample string 6", "Phone": "sample string 7", "CompanyName": "sample string 8", "Country": "sample string 9", "Region": "sample string 10", "City": "sample string 11", "PostalCode": "sample string 12", "AddressLine1": "sample string 13", "AddressLine2": "sample string 14", "AddressLine3": "sample string 15", "Role": "sample string 16", "CompanyId": "sample string 17", "Department": "sample string 18", "IsService": "sample string 19" } ] }
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels.EquipmentImport"> <AddressLine1>sample string 10</AddressLine1> <AddressLine2>sample string 9</AddressLine2> <AddressLine3>sample string 8</AddressLine3> <AndritzResponsibleList> <AndritzResponsible> <AdAlias>sample string 1</AdAlias> <AddressLine1>sample string 13</AddressLine1> <AddressLine2>sample string 14</AddressLine2> <AddressLine3>sample string 15</AddressLine3> <City>sample string 11</City> <CompanyId>sample string 17</CompanyId> <CompanyName>sample string 8</CompanyName> <Country>sample string 9</Country> <Department>sample string 18</Department> <Email>sample string 6</Email> <EmployeeId>sample string 2</EmployeeId> <FirstName>sample string 4</FirstName> <HrisId>sample string 3</HrisId> <IsService>sample string 19</IsService> <LastName>sample string 5</LastName> <Phone>sample string 7</Phone> <PostalCode>sample string 12</PostalCode> <Region>sample string 10</Region> <Role>sample string 16</Role> </AndritzResponsible> <AndritzResponsible> <AdAlias>sample string 1</AdAlias> <AddressLine1>sample string 13</AddressLine1> <AddressLine2>sample string 14</AddressLine2> <AddressLine3>sample string 15</AddressLine3> <City>sample string 11</City> <CompanyId>sample string 17</CompanyId> <CompanyName>sample string 8</CompanyName> <Country>sample string 9</Country> <Department>sample string 18</Department> <Email>sample string 6</Email> <EmployeeId>sample string 2</EmployeeId> <FirstName>sample string 4</FirstName> <HrisId>sample string 3</HrisId> <IsService>sample string 19</IsService> <LastName>sample string 5</LastName> <Phone>sample string 7</Phone> <PostalCode>sample string 12</PostalCode> <Region>sample string 10</Region> <Role>sample string 16</Role> </AndritzResponsible> </AndritzResponsibleList> <AsapNumber>sample string 2</AsapNumber> <City>sample string 7</City> <Country>sample string 6</Country> <CrmId>sample string 1</CrmId> <CtlAsapCode>sample string 12</CtlAsapCode> <CtlDescription>sample string 11</CtlDescription> <CustomerGroup> <AsapNumber>sample string 1</AsapNumber> <Name>sample string 2</Name> </CustomerGroup> <LastChange>sample string 13</LastChange> <MillAreaList> <MillArea> <CapitalClass>sample string 3</CapitalClass> <MillAreaName>sample string 1</MillAreaName> <ServiceClass>sample string 2</ServiceClass> </MillArea> <MillArea> <CapitalClass>sample string 3</CapitalClass> <MillAreaName>sample string 1</MillAreaName> <ServiceClass>sample string 2</ServiceClass> </MillArea> </MillAreaList> <Name>sample string 3</Name> <Postalcode>sample string 5</Postalcode> <Region>sample string 4</Region> </Customer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.