m (1 révision importée) |
m (1 révision importée) |
||
Ligne 121 : | Ligne 121 : | ||
* <tt>UPDATE</tt> - The existing Agent is modified according to modified properties or relations in the file. | * <tt>UPDATE</tt> - The existing Agent is modified according to modified properties or relations in the file. | ||
− | + | {{AnchorDiv|eg}} | |
+ | ==Example== | ||
The following data is to be uploaded to GAX to create three Agents: | The following data is to be uploaded to GAX to create three Agents: | ||
<toggledisplay linkstyle font-size:larger showtext="[+] Show data" hidetext="[-] Hide data"> | <toggledisplay linkstyle font-size:larger showtext="[+] Show data" hidetext="[-] Hide data"> | ||
Ligne 187 : | Ligne 188 : | ||
</toggledisplay> | </toggledisplay> | ||
− | + | {{AnchorDiv|csv}} | |
The contents of the CSV file for this data looks like this: | The contents of the CSV file for this data looks like this: | ||
<source lang="text"> | <source lang="text"> |
Version du avril 14, 2017 à 21:09
CSV File
Sommaire
GAX uses comma-separated value (CSV) files for the import\export of bulk updates to Agents. This section describes the format of the CSV file and provides some examples.
File Format
The source file is a text file in a comma-separated (CSV) format.
In the source file each line represents a single user or agent. The same user or agent can appear in the source file only once. The unique identifier of the user in the scope of the source file is the Username field.
The columns of the file are the properties of a user or an agent. The first row in the file has column names to identify the fields. The order of the columns is not important. A comma is inserted after each column header or value, or if the column does not have a value, immediately after the previous comma. Any non-mandatory column can be omitted from the source file, depending on user preference and/or the purpose of the file
The source file contains the following properties for each user/agent:
When uploading the file, GAX automatically add a new column at the first of every record, and with a column header of Action. For each record, it assigns one of the following values:
- ADD - The Agent is added.
- UPDATE - The existing Agent is modified according to modified properties or relations in the file.
Example
The following data is to be uploaded to GAX to create three Agents:
The contents of the CSV file for this data looks like this:
Sarah,Lee,223344,sarahl@acme.com,N,,,,,,,Y,ADD,Acme/Branch/Team 1
John,Doyle,223465,johnd@acme.com,Y,,2233,1,Y,N,Y,,ADD,Acme/Branch/Team 2
Robert,Cook,244456,bobc@acme.com,Y,,2356,5,Y,,Y,,ADD,Acme/Branch/Team 3