Developer Q&A
How to specify UpdatedBy property for document during creation
over 4 years ago by Raul
If I fire this request
false true false Default 99155 WO test link A12345 false 0 URL https://www.youtube.com/watch?v=h4NJdvUcq2c url disp as 1I get this response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
Document
1429709
1
</soap:Body>
</soap:Envelope>
If I fire the request to get the documents for a work order, I see the one I created
<Document>
<Id>1429709</Id>
<PerformDeletion>false</PerformDeletion>
<ConcurrencyId>1</ConcurrencyId>
<ActorId>99155</ActorId>
<ActorTypeId>WO</ActorTypeId>
<Description>test link</Description>
<Title>A12345</Title>
<DocType>
<Id>30</Id>
<PerformDeletion>false</PerformDeletion>
<ConcurrencyId>0</ConcurrencyId>
</DocType>
<EndDate xsi:nil="true" />
<StartDate>2020-06-18T00:00:00</StartDate>
<UpdatedDate>2020-06-19T14:30:58</UpdatedDate>
<ExtensionId>54</ExtensionId>
<IsShared>false</IsShared>
<IsPublic>false</IsPublic>
<StorageTypeId>URL</StorageTypeId>
<DocUrl>https://www.youtube.com/watch?v=h4NJdvUcq2c</DocUrl>
<MimeType>url</MimeType>
<UpdatedBy>
<Id>1851</Id>
<PerformDeletion>false</PerformDeletion>
<TypeId>Employee</TypeId>
</UpdatedBy>
<WonId>0</WonId>
<WonMemberId>0</WonMemberId>
</Document>
However, the UpdatedBy here is ALWAYS 1851 which corresponds to the System Admin user in Corrigo. How can I fire the create document request to specify a different UpdatedBy employee?
Raul