Reference for https://www.accountabilityapi.com/Service.svc/Job/Export/?IDKey={ID}
Url: https://www.accountabilityapi.com/Service.svc/Job/Export/?IDKey={ID}
HTTP Method: GET
| Message direction | Format | Body |
|---|---|---|
| Request | N/A | The Request body is empty. |
| Response | Xml | Example,Schema |
| Response | Json | Example |
The following is an example response Xml body:
<FullJob xmlns="http://schemas.datacontract.org/2004/07/Accountability.API.Model"> <IDKey>2147483647</IDKey> <JobNo>String content</JobNo> <JobDescription>String content</JobDescription> <MasterJobID>2147483647</MasterJobID> <MasterJobNo>String content</MasterJobNo> <MasterJobDescription>String content</MasterJobDescription> <JobTypeID>2147483647</JobTypeID> <JobTypeName>String content</JobTypeName> <ClientID>2147483647</ClientID> <ClientCode>String content</ClientCode> <ClientName>String content</ClientName> <ProductID>2147483647</ProductID> <ProductCode>String content</ProductCode> <ProductName>String content</ProductName> <CampaignID>2147483647</CampaignID> <CampaignCode>String content</CampaignCode> <CampaignName>String content</CampaignName> <OfficeID>2147483647</OfficeID> <OfficeCode>String content</OfficeCode> <OfficeName>String content</OfficeName> <DateOpened>String content</DateOpened> <DateClosed>String content</DateClosed> <Billable>true</Billable> <PctServiceFeeProduction>12678967.543233</PctServiceFeeProduction> <Active>true</Active> <PctSupplierInvoiceMarkUp>12678967.543233</PctSupplierInvoiceMarkUp> <ClientOrderNo>String content</ClientOrderNo> <JobManagerID>2147483647</JobManagerID> <JobManagerCode>String content</JobManagerCode> <JobManagerName>String content</JobManagerName> <ClientManagerID>2147483647</ClientManagerID> <ClientManagerCode>String content</ClientManagerCode> <ClientManagerName>String content</ClientManagerName> <AgencyDeadline>String content</AgencyDeadline> <MaterialDeadline>String content</MaterialDeadline> <ProductionStatus>String content</ProductionStatus> <SizeOrDuration>String content</SizeOrDuration> <Budget>12678967.543233</Budget> <EstimateContactName>String content</EstimateContactName> <InvoiceContactName>String content</InvoiceContactName> <CustomCode1>String content</CustomCode1> <CustomCode2>String content</CustomCode2> <CustomCode3>String content</CustomCode3> <CustomCode4>String content</CustomCode4> <CustomCode5>String content</CustomCode5> <FirstExpenseDate>String content</FirstExpenseDate> <LastExpenseDate>String content</LastExpenseDate> <Notes>String content</Notes> <WIPNotes>String content</WIPNotes> <InsertedUpdatedDate>String content</InsertedUpdatedDate> </FullJob>
The following is an example response Json body:
{
"IDKey":2147483647,
"JobNo":"String content",
"JobDescription":"String content",
"MasterJobID":2147483647,
"MasterJobNo":"String content",
"MasterJobDescription":"String content",
"JobTypeID":2147483647,
"JobTypeName":"String content",
"ClientID":2147483647,
"ClientCode":"String content",
"ClientName":"String content",
"ProductID":2147483647,
"ProductCode":"String content",
"ProductName":"String content",
"CampaignID":2147483647,
"CampaignCode":"String content",
"CampaignName":"String content",
"OfficeID":2147483647,
"OfficeCode":"String content",
"OfficeName":"String content",
"DateOpened":"String content",
"DateClosed":"String content",
"Billable":true,
"PctServiceFeeProduction":12678967.543233,
"Active":true,
"PctSupplierInvoiceMarkUp":12678967.543233,
"ClientOrderNo":"String content",
"JobManagerID":2147483647,
"JobManagerCode":"String content",
"JobManagerName":"String content",
"ClientManagerID":2147483647,
"ClientManagerCode":"String content",
"ClientManagerName":"String content",
"AgencyDeadline":"String content",
"MaterialDeadline":"String content",
"ProductionStatus":"String content",
"SizeOrDuration":"String content",
"Budget":12678967.543233,
"EstimateContactName":"String content",
"InvoiceContactName":"String content",
"CustomCode1":"String content",
"CustomCode2":"String content",
"CustomCode3":"String content",
"CustomCode4":"String content",
"CustomCode5":"String content",
"FirstExpenseDate":"String content",
"LastExpenseDate":"String content",
"Notes":"String content",
"WIPNotes":"String content",
"InsertedUpdatedDate":"String content"
}
The following is the response Xml Schema:
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Accountability.API.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Accountability.API.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="FullJob">
<xs:sequence>
<xs:element minOccurs="0" name="IDKey" type="xs:int" />
<xs:element minOccurs="0" name="JobNo" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="JobDescription" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="MasterJobID" type="xs:int" />
<xs:element minOccurs="0" name="MasterJobNo" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="MasterJobDescription" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="JobTypeID" type="xs:int" />
<xs:element minOccurs="0" name="JobTypeName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ClientID" type="xs:int" />
<xs:element minOccurs="0" name="ClientCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ClientName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ProductID" type="xs:int" />
<xs:element minOccurs="0" name="ProductCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ProductName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CampaignID" type="xs:int" />
<xs:element minOccurs="0" name="CampaignCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CampaignName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="OfficeID" type="xs:int" />
<xs:element minOccurs="0" name="OfficeCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="OfficeName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="DateOpened" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="DateClosed" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Billable" type="xs:boolean" />
<xs:element minOccurs="0" name="PctServiceFeeProduction" type="xs:decimal" />
<xs:element minOccurs="0" name="Active" type="xs:boolean" />
<xs:element minOccurs="0" name="PctSupplierInvoiceMarkUp" type="xs:decimal" />
<xs:element minOccurs="0" name="ClientOrderNo" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="JobManagerID" type="xs:int" />
<xs:element minOccurs="0" name="JobManagerCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="JobManagerName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ClientManagerID" type="xs:int" />
<xs:element minOccurs="0" name="ClientManagerCode" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ClientManagerName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="AgencyDeadline" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="MaterialDeadline" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="ProductionStatus" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="SizeOrDuration" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Budget" type="xs:decimal" />
<xs:element minOccurs="0" name="EstimateContactName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="InvoiceContactName" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CustomCode1" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CustomCode2" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CustomCode3" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CustomCode4" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="CustomCode5" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="FirstExpenseDate" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="LastExpenseDate" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="Notes" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="WIPNotes" nillable="true" type="xs:string" />
<xs:element minOccurs="0" name="InsertedUpdatedDate" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:element name="FullJob" nillable="true" type="tns:FullJob" />
</xs:schema>
Additional response Xml Schemas:
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="anyType" nillable="true" type="xs:anyType" />
<xs:element name="anyURI" nillable="true" type="xs:anyURI" />
<xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
<xs:element name="boolean" nillable="true" type="xs:boolean" />
<xs:element name="byte" nillable="true" type="xs:byte" />
<xs:element name="dateTime" nillable="true" type="xs:dateTime" />
<xs:element name="decimal" nillable="true" type="xs:decimal" />
<xs:element name="double" nillable="true" type="xs:double" />
<xs:element name="float" nillable="true" type="xs:float" />
<xs:element name="int" nillable="true" type="xs:int" />
<xs:element name="long" nillable="true" type="xs:long" />
<xs:element name="QName" nillable="true" type="xs:QName" />
<xs:element name="short" nillable="true" type="xs:short" />
<xs:element name="string" nillable="true" type="xs:string" />
<xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
<xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
<xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
<xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
<xs:element name="char" nillable="true" type="tns:char" />
<xs:simpleType name="char">
<xs:restriction base="xs:int" />
</xs:simpleType>
<xs:element name="duration" nillable="true" type="tns:duration" />
<xs:simpleType name="duration">
<xs:restriction base="xs:duration">
<xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
<xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
<xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
</xs:restriction>
</xs:simpleType>
<xs:element name="guid" nillable="true" type="tns:guid" />
<xs:simpleType name="guid">
<xs:restriction base="xs:string">
<xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
</xs:restriction>
</xs:simpleType>
<xs:attribute name="FactoryType" type="xs:QName" />
<xs:attribute name="Id" type="xs:ID" />
<xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
<tns:element name="schema">
<tns:complexType />
</tns:element>
</tns:schema>