This example demonstrates the following:
Request
| Method | URL |
|---|---|
| POST | /ws/v1/core/customermgr/bulk/customer/obfuscate |
Request headers
| Name | Value |
|---|---|
| X-egain-session | Valid session ID |
| Accept | application/xml |
| Content-Type | application/xml |
| Accept-Language | en-US |
Request body
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <customer xmlns="http://bindings.egain.com/ws/model/v12/gen/interaction/customer" xmlns:ns2="http://bindings.egain.com/ws/model/v12/gen/platform" xmlns:ns3="http://bindings.egain.com/ws/model/v12/gen/common"> <file> <name>customers.zip</value> <content>0PXPs9QcAAAAAAAAAAAAAAAAgAQAAAAAAAAAAAAAAAIAoAAAAAAAAAAAAAAAAAKIAAAAAaIwOAAAAAAAAAABUYHn1AQAAAAAAAAAAAAAAgCQAAAAA2qIDAAAAAAAAAAA1AAAAAAAAAAAAldABAAAAaAgAAAAAAAAAAAAAAACAMA9QSwECHwAUAAAACABSZ1RTI6p9I5oAAAAaHgEAEwAkAAAAAAAAACAAAAAAAAAAY3VzdG9tZXIgLSBDb3B5LmNzdgoAIAAAAAAAAQAYALo9gxiExdcBuj2DGITF1wG</content> </file> </customer>
Response
HTTP/1.1 202 Accepted
Response headers
| Name | Value |
|---|---|
| X-egain-session | current session ID |
| Content-Type | application/xml |
| Location | /ws/v1/core/bulk/3A619A9A-53EC-43EA-A62E-1D0437583189 |
Request
| Method | URL |
|---|---|
| POST | /ws/v1/core/customermgr/bulk/customer/obfuscate |
Request headers
| Name | Value |
|---|---|
| X-egain-session | Valid session ID |
| Accept | application/json |
| Content-Type | application/json |
| Accept-Language | en-US |
Request body
{
"file": {
"name": "customers.zip",
"content": "0PXPs9QcAAAAAAAAAAAAAAAAgAQAAAAAAAAAAAAAAAIAoAAAAAAAAAAAAAAAAAKIAAAAAaIwOAAAAAAAAAABUYHn1AQAAAAAAAAAAAAAAgCQAAAAA2qIDAAAAAAAAAAA1AAAAAAAAAAAAldABAAAAaAgAAAAAAAAAAAAAAACAMA9QSwECHwAUAAAACABSZ1RTI6p9I5oAAAAaHgEAEwAkAAAAAAAAACAAAAAAAAAAY3VzdG9tZXIgLSBDb3B5LmNzdgoAIAAAAAAAAQAYALo9gxiExdcBuj2DGITF1wG"
}
} Response
HTTP/1.1 202 Accepted
Response headers
| Name | Value |
|---|---|
| X-egain-session | current session ID |
| Content-Type | application/json |
| Location | /ws/v1/core/bulk/3A619A9A-53EC-43EA-A62E-1D0437583189 |